6
Thomas Hicks
Last seen 2 years ago
Member for 10 years, 4 months, 22 days
Difficulty Normal
我们办法一样!
Wish I knew how to force the system to use Python 2.7 (the version I know) rather than 3.3, having to deal with the new approach to division in 3.3 caused me to stumble a bit.
More
Seems it could be shortened but very clever solution avoiding conditionals and the code is very easy to read!
More
With all the print statements I suspect this is easier to debug should something go wrong.
More
Not bad, seems there should be a more direct way rather than the negation but this works!
More