Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
7-liner: if you can't dimension it, Stringify it solution in Creative category for How Deep by Stensen
def how_deep(a):
res, count = 0, 0
for i in str(a):
if i == ')': count -= 1
if i == '(': count += 1
res = max(res, count)
return res
Oct. 24, 2020
Comments: