r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

86 comments sorted by

View all comments

Show parent comment

1

u/asaf92 Mar 31 '21
if s == True:
    s = True
elif s == False:
    s = False

OK....

1

u/jso__ Apr 01 '21

Else statements are overrated and for errors (what is this, typescript? if the variable is magically changed the entire code should fail)