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.
Programming Horror!!
Like mentioned before, you can use 'return' instead of 'if: ... else:'
Completely agree. I wonder if this value was first tested in a calculator and then hardcoded into the solution. 🤣
Cool, I was scrolling until I read your comment and learned something new.
Thanks!
**I've now realized constants are conventionally upper-cased.
I understand your reasoning better now.
This comment is hidden because it contains spoiler information about the solution
This is cool for when you don't have internet to convert metrics; otherwise it looks a bit confusing and even painful to the eye with all the capitals.
Nonetheless, I am sure this makes a lot of sense in your head so congrats on the solution!
d
Aside from syntax, which could be better readable, I believe this to be a Best Practice. Congrats.
This comment is hidden because it contains spoiler information about the solution
Simply clever. Congrats
Best practices + Clever. Just simple and effective.
Lots of time spent on this. Might be clever, but not really best practice. Congrats anyway
Well thought. My solution was more based on a comparison character by character; this solution is obviously better in every way.
Fast and clean way. Avoids looping and unnecessary indentation for iterating. Congrats!