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.
this one is good
This is the best response readability-wise
It is not great at all. It is basically the same as the top answers except it is poor from a readability perspective.
Didn't know you can put if statements like that. Nice!
To be fair I mainly follow PEP8 because it's a good (imo) way to make my code more readable
In my defence, this is the first time I've ever heard of PEP-8.
here we go again, not following PEP-8
Agreed. If you want a fast solution, don't use Python
i did test multiples times it was always finish faster although its neglible , thanks for knowledge
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it's not only messy, it's overall bad practice and straight up doesn't work in some languages.
Awesome
My maths lecturer would be appauled by your comment @Encription0001 :D This code can be refactored to any value of water when you multiply. You should never use proper fractions, e.g. 1/2 (/2) 1/4 (/4) as cases such as .75 would mean 3/4 and you cant use the divide operator without multiplying the numerator thats > 1. e.g. ((1/4)*3) and using integer conversion will always round down a floating point number.
Strange that there is a line break at the end of the string where it is not needed.
Loading more items...