226k views
19 votes
Complete the output for the following program?

for num in range(4):
print (num * 4)
OUTPUT:
First: ___
Second: ___
Third: ___
Fourth: 12

User AndreiM
by
4.4k points

1 Answer

12 votes

Answer:

First: 0

Second: 4

Third:8

Fourth: 12

Step-by-step explanation:

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

User Lakesha
by
4.6k points