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 solution posted twice. Both with the same bug in python3 and useless comparison in python2.
This solution does not work for python3 and args (11, 1). You get
TypeError: unorderable types: int() > NoneType()
for the line
if tmp_result > result or result is None:
The comparisons should be interchanged (first test if
result is None
). I.e. the if statement is worthless in python2 and raises an error in python3.