r/adventofcode • • Dec 04 '20

Spoilers How not to write an if statement

Post image
164 Upvotes

41 comments sorted by

View all comments

Show parent comment

1

u/ItsOkILoveYouMYbb Dec 05 '20

I didn't know about "all()" at all haha, that's really cool.