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
It`s not a solution. Since the goal was to remove vulnerabilities, and with this decision they remained
I really like this solution :)
Best to use
public_send
instead ofsend
to restrict access to private/protected methods :)nuss, how couldn't i see this?:
thanks for the reply.
well i made a mistake, accidently opted ruby instead of python. thats why😅😂
In ruby you have 2 types of slicng: m..n - meaning from m till n INCLUSIVE and m...n which does not inclue n. If that answers you question :)
why is it name[0..1]
unlike the python slicing #name[0:2]
#help me, i'm desperate
Makes sense, thanks for clarifying
The case terminates at the first matching condition. so 18.5 is Underweight and 25.0 is Normal
Is this really best practice? This solution doesn't seem to account for situations where bmi is equal to 18.5 or 25.0
Fixed.
P.S.: If someone ever comes to edit this, do it in a way that does not invalidate everything.
Ruby method bad name
numberToString
must benumber_to_string
Ruby method name must be written in snake case. Rename
DNAtoRNA
todna_to_rna
Loading more items...