The while loop

n = 1, n * 2 while n < 20 → 32

You can also choose a level by clicking its number.

About the course

Description
When a while loop ends and which values remain
More information
Short programs in Python – what they calculate and what they print.
Sample question
n = 1, n * 2 while n < 20 → 32
Author
Jiří Preisler
Version
1.0