Need help in python code for below conversion:
"()" => "00" ")(" => "-11" "((a) => "10a0" "(a(b)c) => "0a0b0c0" "()a((((" => "00a1111"