Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clear? Working on clear. solution in Clear category for Brackets by robby.daigle
def checkio(expression):
s = []
for x in expression:
if x in "{([":
s.append("{([".index(x))
elif x in "})]" and (len(s)==0 or x != "})]"[s.pop()]):
return False
return True if not s else False
Dec. 18, 2014
Comments: