Answer:
Explanation:
The following python code creates the multiplication table for 10 rows and 10 columns. This code uses nested for loops to traverse the table and print out the product of each multiplication. The image attached shows the output of the code.
for x in range(1, 11):
for y in range(1, 11):
z = x * y
print(z, end="\t")
print()
Answer:
The output of the given code as follows:
<u>Output: </u>
{"red", "green"}
Explanation:
- In the given code a list is defined, which contains three elements, which are "red, red, and green". In the next step, a string variable "element" is initialized with a value that is "red".
- Then a for loop is declared, that counts list size, and inside the loop and if block is declared, that compares the value list with element variable then it removes from the list.
Answer:
1. option A simultaneously
2.option A undo
Answer:
Data sequencing is the sorting of data for inclusion in a report or for display on a computer screen.
Explanation: