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.
manual notifiation, see above
note: think about the spoiler flag, btw.
This comment is hidden because it contains spoiler information about the solution
The description clearly explains everything:
"The tests will always use some integral number [...]" see description.
This comment is hidden because it contains spoiler information about the solution
Thank you for your feedback guys. I imported this solution from another user and did not pay enough attention. It has been fixed
@zebulan
you quote PEP8 like the Bible, I see you talking about it every day :D.@nicolassilva
is right. According to Python's PEP8,get_real_floor
is correct because it uses snake_case.The only thing that needs to be changed are the function names for the example test cases to match
get_real_floor
.@nicolassilva
,Thanks for the comment, I enjoy learning from other solutions on Codewars.
Just to clarify, I didn't use a
dict
in my solution,WORDS
is a tuple. But I understand your point.