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.
'Looks like you've solved it'
It is not.
Quesion answered by Chrono79 alredy. Closing.
Yes, avoid them.
Mark your post as having spoiler content next time.
Both functions are O(n ^ 2) filter and includes are loop-alike functions and they're nested in the first one, the second one have two nested for loops. Neither won't work. Your code should be faster O(n).
Could you post your code in a comment (with a spoiler tag)? I think there's a problem with your code. In fact, many people say their code works in IDE but it always turns out the code is simply wrong.
Apart from that, you can swap variables in Python like this:
a, b = b, a
.You should be able to select Python 3.6 now. I don't know if that error has anything to do with Python version though.
See the python versions available for this kata, they're less than 3.6.