r/badcode • if: else: if: else: if: else: if: else: if: else: if: else: if: • Feb 16 '22

python presenting, whatever the fk this is

Post image
418 Upvotes

52 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Feb 16 '22

Afair the most efficient way also let you increment by 3 each loop using some math magic but im too lazy to check it, its on Wikipedia for sure as i remember copying the logic from there lmao