this is link to my code
when i am trying to run this code in my question code editor , it is showing following error
EOFError: EOF when reading a line
Related to Question Generate Parenthesis
This is because you are not providing the input on the ide.
Click on the input button top left corned, and provide suitable input in input column opened downwards afterwards.
Hope this helped
Happy Learning.
it is showing me answer in online ide when i try to submit in questions editor in course assignments then this error is occuring
Make sure you are providing custom input there as well. Try submitting it, I have checked your code it is perfectly correct.
thanks , direct submitting worked
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.