A bit of overkill.
Well, you certainly did that :D
demonstrate what can be done, be original, have fun.
This is cool, but seems like it might be overly complex. What made you decide to do it this way?
Definitely the best solution I have ever seen, this deserves to be the top solution XD
When ... just read 3 books on OOP. :)
he was showing off that he can do inline if statement 😂
social experiment ahahh
its a good joke
i never would have thought of this. god mine is so convoluted
why inside the loop cnt = -1 but outside the loop cnt = 0????
return cnt == 0
There's no point in returning True if the condition evaluates to True or returning False otherwise if you can simply return the condition itself.
True
False
if cnt < 0: return False this line is very ingenious
class...
Because this kata takes only account of parentheses :
Do not treat other forms of brackets as parentheses (e.g. [], {}, <>).
Loading collection data...
A bit of overkill.
Well, you certainly did that :D
demonstrate what can be done, be original, have fun.
This is cool, but seems like it might be overly complex. What made you decide to do it this way?
Definitely the best solution I have ever seen, this deserves to be the top solution XD
When ... just read 3 books on OOP. :)
he was showing off that he can do inline if statement 😂
social experiment ahahh
its a good joke
i never would have thought of this. god mine is so convoluted
why inside the loop cnt = -1 but outside the loop cnt = 0????
There's no point in returning
True
if the condition evaluates toTrue
or returningFalse
otherwise if you can simply return the condition itself.if cnt < 0: return False
this line is very ingenious
class...
Because this kata takes only account of parentheses :
Loading more items...