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.
SMH calculating max() three times for the same values is not according to the DRY programming principle
you haven't seen mine
This comment is hidden because it contains spoiler information about the solution
its great
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
My gut feel is that it'd make no measureable difference. That said you can never be sure, so you could benchmark it yourself if you like.
Would import string module make the function run slower?
Thanks for the explanation!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution