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.
see the comments below. this solution was written in Pyrthon 2. Python 3 changed the
round()
function for halfway cases: it used to be half away from zero (0.5 --> 1
,1.5 --> 2
), now it's half towards the nearest even integer (the so-called "banker's rounding"): (0.5 --> 0
,1.5 --> 2
)Approved.
Yeah! :)
This isn't really a practical solution when it comes to a professional setting. They would prefer you to unpack that a little lol just a more clever solution
What this comment for? Atleast, from now on, you will know about this lib [^-^]
This comment is hidden because it contains spoiler information about the solution