New course! Every coder should learn Generative AI!
Try a free lesson+ 1
For infinite while loop in python is only == used
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
+ 1
Thanks