Sir i have tried an another its working fine but in yourr srever its failing all test case

def para_print(num,s="("):
if s.count("(")>num or s.count(")")>num or s.count(")")>s.count("("):
return
if len(s)==2*num:
print(s)
return
para_print(num,s+’(’)
para_print(num,s+’)’)

num=int(input())
para_print(num)

hey @tanujvats0002_111433f919bfdb0c ,
it might be showing something…
like any error or time limit exceeded , etc…

is it ??

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.