Answer:
Following are the program for the above question in python:
Explanation:
def seat(num_rows,num_cols):#function definition.
for x in range(1,num_rows+1):#first for loop.
c='A'
for y in range(1,num_cols+1): #second for loop.
print(str(x)+c,end=" ") #print the value
c=
(ord(c)+1) #expression to form a charater addition.
seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.
Output:
- If the user inputs 2 and 3, then the output is :"1A 1B 1C 2A 2B 2C 3A 3B 3C 4A 4B 4C".
Code Explanation :
- The above code is in python language, in which the first line is used to render a message to the user then take the inputs from the user and then pass to the function after converting into int function.
- Then there are two loops in the function which are used to print the number of the seat.
- The first loop is used to print the row number and the second loop is used to print the column number.
Answer:
Amazon. Founded in the US in 1994, Amazon started as an online bookstore that later diversified to products including media, electronics, apparel, furniture, food, toys, and jewelry.
eBay. ...
Walmart. ...
Etsy. ...
Home Depot. ...
Target. ...
Best Buy. ...
Wayfair.
Answer:
Explanation:
Social media is making it easier to make a lot of noise about a pressing issue in society, such as human rights violations.
I use social media because I want to keep tabs on people I know.
A change in social media is that people have become increasingly overreliant on it. We tend to spend increasing amounts of time on social media.
Social media should be INFORMATIVE about presidential elections, and it should not be used to spread baseless information. This way, people are more informed about the facts of the candidates and their platforms.
Social media has paved the way for me to make new relationships to important people in my life.
Social media does pose a threat to family and leisure time when said family members tend to be overreliant on the phones and ignore those around them.
The person who is addicted to social media is myself because I spend several hours on it everyday— and that much interaction is too much because it should be one hour a day at most.
I have experienced cyberbullying; the solution to this problem is accountability and finding those who instigate it to bring them to justice.
Answer:
Answer written in python.
Explanation:
#ask user for the first integer.
first_number = int(input("enter first number: "))
#ask user for the second integer
second_number = int(input("enter second number: "))
#add both and store in a variable, result.
result = first_number + second_number
#print out the result
print ( f"the answer to the problem is {result} calculated by adding {first_number} to {second_number}")
The worded lines after the # sign are called comments and are used to describe what the following lines of code does making it easier to read and understand by other programmers or by the same programmer coming back to it after a while.
Answer:
1080 x 1920
800 x 600
Explanation:
These are the screen sizes that you can find in the list of the screen sizes, which can be easily found in the document that lists all the screen sizes. You will certainly find the 1080 x 1920 and also the 800 x 600, however, you will not find the 320 x 240 and 800 x 600. The last two are the standard screen sizes and hence are not the correct options. The correct options are as listed above.