adiaz090706 adiaz090706
  • 08-01-2021
  • Computers and Technology
contestada

Complete the output for the following program?
for num in range(4):
print (num * 4)
OUTPUT:
First: ___
Second: ___
Third: ___
Fourth: 12

Respuesta :

Tsarina
Tsarina Tsarina
  • 14-01-2021

Answer:

First: 0

Second: 4

Third:8

Fourth: 12

Explanation:

The for loop will generate numbers from 0 to 3 (one before 4), and theier product with 4 will be shown on screen.

Answer Link

Otras preguntas

Leonardo, Michelangelo, Donatello, and Raphael ordered pizzas for their birthday party. They ordered a total of 25 pizzas. 12 were cheese, 5 were pepperoni, 3 w
A #2 pencil and a dream can take you anywhere. What does it mean?
Which artery can be found on either side of the neck?
Which of these mineral's could be found in granite?
Which of the following is not an example of universal ethics? a. child admitting he broke his mother’s vase b. a man giving up his seat for a woman c. a student
The bombing of Tokyo brought the war in the Pacific to an end. true or false
why exercising the right to vote is citizen's fundamental duty ?
A number decreased by 40 is the same as 14 minus 3 times the number. What is the number?
Explain the mutual obligations as illustrated in this diagram
What is the ratio of the width 25.5 to the height 25.5