Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

Python While Loops

star
star
star
star
star
Posljednje ažuriranje almost 6 years ago
4 questions
1
Pitanje 1
1.

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

1
1
1
Pitanje 2
2.

These 2 lines of code would both produce the same results:

condition = condition + 1

condition += 1

Pitanje 3
3.

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

Pitanje 4
4.

Why didn't the program print the number 10?