The East Campus Nth Annual Python Bee
Uploader Comments (MichaelCiuffo)
Top Comments
-
HI EVERYBODY!!!!
All Comments (47)
-
why are there so many dumb comments saying his code was wrong. it was damn right. and he did it without a screen. damn.
-
@Orbofs: Try doing that without seeing your screen or writing anything down - if you forget your last character, you're done.
If MIT Comp. Sci. students can't do it, it's hard.
-
my answer
-
I solved this in 15 seconds in my head. Is he serious?
-
Cool :D
-
@emptist I'm not familiar with Python but I believe the "if lvl<0: return false" catches that condition. The moment the counter "lvl" goes negative it will return false.
-
The singular of parentheses is parenthesis.
-
@emptist Actually, it would return False on the third run of the for.
-
sorry but "())(" will return true and that is wrong
-
test if I can comment
you really don't need the if <0 statement
foggydoggydoo 1 year ago
@foggydoggydoo You actually do. Otherwise, ")(" would return True.
MichaelCiuffo 1 year ago 20