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.
I've updated the kata and you can select 3.6 now, your code works there.
If you can use "markup" to presere your code's intentation, it will be much easier to read.
You're making some assumptions about floating point numbers that may or may not be true for this problem.
For example, do you expect the following expression to evaluate to true?
.1 * 3 == .3
It isn't true in both Python 2.x and Python 3.x.
Using & operator with two sets creates a new set containing the elements present in both sets.
https://docs.python.org/3/library/stdtypes.html#set for more infos. :)
You're not using the same Python version, and there are differences between them. When posting code like that, mark your post as having spoiler content.