CODE NOT WORKING

My code is correct but why none of the testcases are passing?? What’s wrong i can’t understand.

PLEASE HELPP!!

You are returning the answers and not printing them, Print them as well

n = int(input())
ob = Solution()
result = ob.generateParenthesis(n)
for s in result:
print(s)

Try adding this to the end of the code

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.