19
Alex Gerdom
https://aggerdom.github.io/
Last seen 3 months ago
Member for 8 years, 10 months, 11 days
Difficulty Normal
It's worth noting that this solution makes use of a control flow construct that should typically be avoided, but here makes things a little cleaner. Using an else statement on a for loop will execute iff the for loop finishes iterating through a sequence.
More