Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Beautiful..., that generator expression and next with default value. I used for... else clause, but that's nothing compared to yours. Very elegant.
(Cmath is also handy.)
The description says: "There will always be only one integer that appears an odd number of times."
In your input there are two such numbers 10 and 1. So you get 11. Therefore the solution is not buggy.