- when you want to minimize the use of strings in your code
- when you want to run code in one file while code in another file is also running
- when you want some code to continue running as long as some condition is true
- when you need to run two or more chunks of code at once within the same file
Correct Answer:
- when you want some code to continue running as long as some condition is true
Simple Example
i = 1
while i<6:
print('Countdown:',i)
i = i + 1