Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Latest commit

 

History

History
13 lines (9 loc) · 274 Bytes

File metadata and controls

13 lines (9 loc) · 274 Bytes

The Infinite loop

If a condition never becomes false, a loop will never end. Such a loop is called an infinite loop.

The syntax of a while loop is:

while True:
    print('loop step')

Instructions Fix an infinite loop, the condition can become true.