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.
beautiful solution. Thank you
I am too new to Python to even start understanding a fraction of how this code works. It certainly looks a lot more compact than the code I wrote, but is it also more efficient than code written with explicit for loops and if statements, assuming that this code is in its optimum form?
This comment is hidden because it contains spoiler information about the solution
Hi Knako, please post your code with proper markdown and a spoiler tag, thanks.
Anyone know how to fix this?
Traceback (most recent call last):
File "main.py", line 1, in
from solution import *
File "/home/codewarrior/solution.py", line 20
SyntaxError: Non-ASCII character '\xc2' in file /home/codewarrior/solution.py on line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details