What do you use in python?

  • while True:
  • while 1 < 0
  • while “insert string here” == “insert string here”:
  • while False:
  • :smiling_imp: = 1
    while :smiling_imp::

0 voters

1 Like

My bad
:smiling_imp: 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.

2 Likes

You didn’t include
while False:

while False would never run because False is never truthy

2 Likes

Oh
My bad
while false == False

2 Likes

Unless you defined false, that code would error.

2 Likes

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

1 Like

What’s wrong with it?

2 Likes

Me who doesn’t vote because I don’t use Python

2 Likes
  • while True
  • while 1
  • while not False
  • while False == False
  • while 0 < 1
  • while “string” == “string”

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))))))))))))))))))))))))))))))))))

1 Like

You can select multiple options.

2 Likes

Is that truthy? (is there an even number of nots)

1 Like

I was 1 off…darn it. Ill add an extra not

2 Likes
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")
1 Like

There are 22 nots. THAT CODE WON’T WORK:

  • THERE ARE 34 CLOSING BRACKETS BUT ONLY 21 OPENING ONES.
1 Like