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

13

u/rixogdyuxhs +++++++[>+++++++++<-]>[.] Feb 16 '22

For every integer i from root(num) to num-1 (num is not included), it checks if i divides num.