How do you do your forever loops?
1. while True
# You're boring.
2. while 1
# You want to be unique, but don't want to complicate things too much.
3. while not False
while not False:
# People should start using this, lol.
4. while "you have no life"
while "you have no life":
# You really don't, though. Unless you're EarthRulerr, he has a life somehow.
5. while not not not not not not not not not not True
while not not not not not not not not not not True:
# That's 10 `not`s btw.
ඞ = True
I felt like MVPerry writing those comments, lmao.
Forever Loops in Python
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option ඞ
here’s some stuff I missed:
# some code
true = False
false = True
Who is that? Is it a famous person?
Someone I’m too normal to know
Anyone who doesn’t use while True hates runtime efficiency >:[
Cannot agree more. While true forever!
I’m not like the other programmers, Infact, I touch grass every day for 6 hours at least
YouTube person I used to watch
int loop = 1;
hahaha I don’t need to follow syntax nor indents out of editor
NOOOO you don’t need the
ඞ = True
yeah, I could use a string, but
while ඞ >
Ok, if we want to have fun on weird ways to do it …
Oh yeah, I should have included recursion
Even worse I included catching ctrl-c
while True except when I’m going for smallest code possible and then I use
Imagin having no option 6 in the poll
for(;;) (I know not python but lol)
we don’t talk about this one:
That won’t work, as I think python has a recursion limit.
it does lol yeah XD I forgot