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.
Impressive, you solved it in an immutable way quite elegantly
Please stop with variables like a1, p, x, p0...
It does not make sense, it's not readable and fosters bad practices for beginners.
Dude. All you need to do is multiply 1.15 to your answer.
Should it have been though?
This comment is hidden because it contains spoiler information about the solution
I'm not sure that the translation to plain English bring a lot of value to this Kata. In my opinion, it pushes people to write horrors which would be unacceptable as production-like code.
Also agree with the comments, the little story with the wallpaper does not make any sense for real life applications.