What will happen when you run this program?
num = - 10
while num > 0
print (num)
This is an infinite loop.
Python will print the integers from 10 to 1.
There will be no output. The loop condition is false.
Python will print 10 ten times

Respuesta :

tonb

Answer:

There will be no output. The loop condition is false.

Explanation:

num is not greater than 0, so the while condition is never true.

Also, there is a colon missing in the code and the print statement is lacking proper indentation, so it could not run at all. Assuming you fix that, the print statement would never be reached.

Answer:

There will be no output. The loop condition is false.

Explanation:

ACCESS MORE
EDU ACCESS