Log in
Sign up for FREE
arrow_back
Library

Python While Loops

star
star
star
star
star
Last updated over 5 years ago
4 questions
1
1
1
Question 3
3.

How did the computer know to stop printing after it printed number 9?

1
Question 4
4.

Why didn't the program print the number 10?

Question 1
1.

Which of the following lines of code would reassign a new value to the condition variable?

Question 2
2.

These 2 lines of code would both produce the same results:
condition = condition + 1
condition += 1