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.
Same, I forgot it too.
Exactly. I'm just seeing that for the first time.
Don't expect someone else to give you the answer. You can make trials with this code to see what it's doing.
Note this code was written on Python 2, you must use
//
to perform an integer division in Python 3.you didn't read the description...
It seems clear you need to just nedd to push the key once for
1
. The other symbols should be tested since it's in the description, though this kata is old and that could invalidate many solutions.I answered you below.
You're reasoning with right triangles only.