Error while code execution for generate parenthesis problem

sir when i run code for generate parenthesis in online terminal then an error occured :Traceback (most recent call last):
File “source”, line 16, in
n=int(input())
EOFError: EOF when reading a line
how to rectify this.

Hello @Ricoman,

While running the code, you have to provide custom input. EOF error occurs when you try to read from a empty file. Hope this helps.
Happy Learning :slight_smile:
Thanks

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.