I can't even solve your Kata, so I may be way off base here.
Your if' and elif' look like they take 3 arguments, instead of a single Bool ( which could be expressed between parentheses, JS-style ). Wouldn't passing a Bool be more flexible for conditions, without materially affecting the kata?
I can't even solve your Kata, so I may be way off base here.
Your
if'
andelif'
look like they take 3 arguments, instead of a singleBool
( which could be expressed between parentheses, JS-style ). Wouldn't passing aBool
be more flexible for conditions, without materially affecting the kata?