0
How to print name infinity times in python?
8 odpowiedzi
+ 7
The easiest way to create an infinite loop is using a while statement where the condition is never evaluated to False.
while True:
# your code
+ 3
Without knowing how far you are in a course, I don’t know what kind of hints to give you.
If possible, would you show your code attempt?
+ 2
♾️ loop 🤔
+ 2
x = True;
while x:
# whatever you wants to loop forever
0
Just add while True condition 🙂
0
while True:
print("name")
Baba
Not Group Is Group
You
0
Got it... Thank you guys
0
name = "Max"
#replace Max with any name you want
while name == "Max":
print(name)
#this is written in Python