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.
What does the n != do
xrange
is Python 2, it was removed in Python 3. It is a very old solution, written when CW used Python 2.my pycharm wrote that this line is wrong:
If I try "range" insted of "xrange", it is good
self.dimension, dimension have the same id.
Lol, me too. In case I need to translate it to C later.
same!
because the func compare 2 sets ! originally ascii is a string ! You cant compare 2 different types !
Here, you even didn't use a list, yeah, sum takes any iterable one I guess :D
Thank you!
Here, the division operator forces the float, not the 1.0.
Evaluate 1/1 in the python interpreter.
I really liked this solution compared to the rest. Had a bit of issues with the hypens and most answers containing regex, this is good answer for an mid coder.
No idea, I don't get that error. You have two
]
there, when you delete one, the problem is not what you said, your answer is longer than it should be.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I didn`t even know about count method and used loops, lol. Thanks for the best solution!
what's the problem?
Loading more items...