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 wish this kata supported Python 3. I got tripped up by
/
, which performs true division (even between integers) in Python 3, but does integer division in Python 2.I translated this to Swift.
I don't think that resolves this issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
return
on its own will returnNone
. No need toreturn None
.This comment is hidden because it contains spoiler information about the solution
6 people voted this as Best Practices…
This comment is hidden because it contains spoiler information about the solution