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
Please mark your post as having spoiler content next time. Your post was visible in the homepage discourse.
This comment is hidden because it contains spoiler information about the solution
But seriously, what scares me is the number of cheerful comments.
We are in deep trouble.
Python goes brrrrrrr codestyle <3
6 characters longer than my solution :D (ignoring the newlines added for legibility)
He uses it to keep track of whether he's currently handling 10s, 100s, 1000s, etc.
Yes, you can chain as many as you like
wait what, we can make 2 if statement in one line???
can I strike my answer from ever having existed? is what I thought when I saw this
hi! len(num) should be variable too as str(num), and list(str(num)) is unnessesary here. and enumerate can start from 1. And it is good solution!
Yep, no need in str(value) and len(str(value)) every iteration. Unnecessary operations.
Because 1.08kph is equal to 30cms so he has divided 30 by 1.08 giving the the answer of 27.7778.
He now multiplies the speed by this number giving him the answer in cms.
i think i went a bit overboard lol
why is that?
Loading more items...