Guest User

Untitled

a guest
Apr 25th, 2017
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. text = input()
  2.  
  3. while '()' in text:
  4.     text = text.replace('()', '')
  5.  
  6. print(len(text))
RAW Paste Data