How do you do your forever loops?
1. while True
while True:
# You're boring.
2. while 1
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.
6. ඞ
ඞ = True
while ඞ:
# ඞ
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:
function recursion
def forever():
# some code
forever()
what
true = False
false = True
while false:
# what
2 Likes
Who is that? Is it a famous person?
2 Likes
Someone I’m too normal to know
1 Like
Anyone who doesn’t use while True hates runtime efficiency >:[
2 Likes
Cannot agree more. While true forever!
I’m not like the other programmers, Infact, I touch grass every day for 6 hours at least 
2 Likes
YouTube person I used to watch
1 Like
In C++ 
int loop = 1;
while(loop==1){
doCoolStuff();
}
hahaha I don’t need to follow syntax nor indents out of editor 
1 Like
NOOOO you don’t need the ඞ = True
yeah, I could use a string, but while ඞ
> while 'ඞ'
Ok, if we want to have fun on weird ways to do it …
def never_ending_loop():
try:
while True:
pass
except KeyboardInterrupt:
never_ending_loop()
Oh yeah, I should have included recursion
Even worse I included catching ctrl-c 
1 Like
I use while True
except when I’m going for smallest code possible and then I use while 1
.
1 Like
Imagin having no option 6 in the poll
cursed version: for(;;)
(I know not python but lol)
we don’t talk about this one:
def lol():
lol()
1 Like
That won’t work, as I think python has a recursion limit.
2 Likes
it does lol yeah XD I forgot