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.
I'm fucking stupid and have started coding 2 seconds ago, can anyone explain how it works?
It is not covering all case scenarios and I think I will learn wrong because of that.
If there is a back movement?
Nice one. I painful kata nonetheless.
@EvgeniiKlepilin is correct, although this solution technically passes the tests, the tests don't cover all of the requirements that are listed in the description. I've posted on Discord to see if someone can add a few additional tests, as this incorrect solution is actually giving bad information to new users.
Indeed ;). However the test is passed anyway since it check if the difference between your result and the expected result is < 1. But to properly answer the question (which is always better) you should indeed import math and apply the floor function to the result.
dont you need to round the number
it is not a combat mission where different development of events is possible, and the task is to complete a specific mission without any if. The task is done.
Hahaha i complicated my self. Beutiful :')