10
Last seen 7 years ago
Member for 9 years, 7 months, 5 days
Difficulty Normal
It's a little silly but I wanted to try something different to the way I'd usually approach it, and I need to practice Python's list magic, so why not. Extract the list in the _for_ loop to a local variable and you can cleanly add to the possible shenanigans by adding extra tuples
More
A lot of the solutions use the _int()_ function, which is great (and what you should probably use in general). I wanted to add a version that tackles the general problem, in case it helps anyone who didn't know the answer can be "just stick it in _int()_"
More