Respuesta :
Answer:
- for i in range(0,11):
- print("Number: " + str(i) + " | Multiplied by 2: " + str(i * 2) + " | Multiplied by 10: " + str(i*10))
Explanation:
Firstly, create a for loop (Line 1). Since we intend to print 0 through 10, we need values 0 and 11 as parameters of range function. The range(0,11) will create a range of values 0 - 10 (11 not inclusive). The for loop will iterate through the range of values 0 - 11 one by one and then print the original value followed by value multiplied by 2 and also the value multiplied by 10 (Line 2).
The program is an illustration of loops.
Loops are used to perform repetitive and iterative operations.
The program in Python where comments are used to explain each line is as follows:
#This prints the output header
print("Number\tMultiplied by 2\t Multiplied by 10")
#This iterates from 0 to 10
for i in range(0,11):
#This prints each number, its double and its product by 10
print(str(i) + "\t\t" + str(i * 2) + "\t\t" + str(i*10))
Read more about similar programs at:
https://brainly.com/question/22076975