Whats wrong in my code(EVENT) even after covering all scenarioes

I have covered almost all scenarios as per editorial . Still I am getting WA
what is wrong in my code ?


You forgot to change the line i.e. ā€˜\nā€™ after each output.

Your AC Code :: AC Code

1 Like

Thank you . It worked !