you cant use w/hh because it will cancle one h out and you wont get real bmi, thats why you use either w/(hh) or w/h/h;
I think this is the best and simplest way.
nice one
This comment is hidden because it contains spoiler information about the solution
very concise 😀👍. It never crossed my mind.
Even though I also consider this as clever, wouldn't this be best practice (or maybe better practice)?
Enabled in this fork
tbh i dont know abt this
Totally forgot about this, never occured to me that i could use this.
For anyone wondering why you can use bool as 1 and 0 https://github.com/python/cpython/blob/main/Doc/c-api/bool.rst#id3
Booleans in Python are implemented as a subclass of integers.
so beautiful!
Nice one! Got something new for me, thx :)
Not an issue. You can't submit solutions for the kata in draft.
Kata is in draft can't finish the kata. Anyone can update this kata?
Loading collection data...
you cant use w/hh because it will cancle one h out and you wont get real bmi, thats why you use either w/(hh) or w/h/h;
I think this is the best and simplest way.
nice one
This comment is hidden because it contains spoiler information about the solution
very concise 😀👍. It never crossed my mind.
Even though I also consider this as clever, wouldn't this be best practice (or maybe better practice)?
Enabled in this fork
This comment is hidden because it contains spoiler information about the solution
tbh i dont know abt this
Totally forgot about this, never occured to me that i could use this.
For anyone wondering why you can use bool as 1 and 0 https://github.com/python/cpython/blob/main/Doc/c-api/bool.rst#id3
so beautiful!
Nice one! Got something new for me, thx :)
Not an issue. You can't submit solutions for the kata in draft.
Kata is in draft can't finish the kata. Anyone can update this kata?
Loading more items...