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 comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Why?????
This is the best answer for a new person learning to code! Great work! Now refactor!
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.
I felt like a genius doing this with a single line. I like these ones since Im forced to learn skills like these regardless of how easy it is.
This comment is hidden because it contains spoiler information about the solution