Infinite loop

i = 0; while i != 7: i += 2 → never ends

You can also choose a level by clicking a star.

About the course

Description
Will the while loop end, or will it run forever?
More information
An algorithm is a precise sequence of steps. Code examples are in Python.
Sample question
i = 0; while i != 7: i += 2 → never ends
Author
Jiří Preisler
Version
1.0