For infinite while loop in python is only == used | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

For infinite while loop in python is only == used

16th Jun 2019, 9:14 AM
Sumit Jaiswal
Sumit Jaiswal - avatar
2 Answers
+ 3
To make an infinite while loop you just have to make sure the condition is ALWAYS true. The easiest: while True: # code
16th Jun 2019, 9:15 AM
Airree
Airree - avatar
+ 1
Thanks
16th Jun 2019, 9:16 AM
Sumit Jaiswal
Sumit Jaiswal - avatar