- while True:
- while 1 < 0
- while “insert string here” == “insert string here”:
- while False:
-
= 1
while:
0 voters
0 voters
My bad
is supposed to be equal to True
Also it’s supposed to be while 1 > 0
I already made a poll like this
I use neither of those, by the way. I use while 1
.
You didn’t include
while False:
while False
would never run because False
is never truthy
Oh
My bad
while false == False
Unless you defined false
, that code would error.
I meant False, not false. My bad. It’s like writing while True == True
I could use while not False
Am I hallucinating, or does anyone else see this? So confused…
Edit: Nevermind didn’t realize you could select multiple options
What’s wrong with it?
Me who doesn’t vote because I don’t use Python
0 voters
while not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not (not True))))))))))))))))))))))))))))))))))
You can select multiple options.
Is that truthy? (is there an even number of not
s)
I was 1 off…darn it. Ill add an extra not
while not exec(chr(112)+chr(114)+chr(105)+chr(110)+chr(116)+chr(40)+chr(34)+chr(105)+chr(116)+chr(115)+chr(32)+chr(99)+chr(108)+chr(101)+chr(97)+chr(114)+chr(32)+chr(97)+chr(115)+chr(32)+chr(115)+chr(97)+chr(121)+chr(46)+chr(32)+chr(89)+chr(111)+chr(117)+chr(32)+chr(119)+chr(105)+chr(108)+chr(108)+chr(32)+chr(110)+chr(101)+chr(118)+chr(101)+chr(114)+chr(32)+chr(115)+chr(111)+chr(108)+chr(118)+chr(101)+chr(32)+chr(116)+chr(104)+chr(105)+chr(115)+chr(46)+chr(34)+chr(41)):
print("the above statement is false")
There are 22 nots. THAT CODE WON’T WORK: