Python While Loops
star
star
star
star
star
Last updated over 5 years ago
4 questions
1
Which of the following lines of code would reassign a new value to the condition variable?
Which of the following lines of code would reassign a new value to the condition variable?
1
These 2 lines of code would both produce the same results: condition = condition + 1 condition += 1
These 2 lines of code would both produce the same results:
condition = condition + 1
condition += 1
1
How did the computer know to stop printing after it printed number 9?
How did the computer know to stop printing after it printed number 9?
1
Why didn't the program print the number 10?
Why didn't the program print the number 10?