logo

Crowdly

Browser

Add to Chrome

Which statement is correct about the execution of the loop in the following code...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Which statement is correct about the execution of the loop in

the following code fragment?

num = int(input("Please enter a number (0 when done): "))
incr = 0
while num != 0 :
   incr = incr + 1
   num = int(input("Please enter a number (0 when done): "))
print(incr)
More questions like this

Want instant access to all verified answers on elearn.squ.edu.om?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome