I am getting Errored Output

Doing exactly the same as specified still I am getting this error

Hey @codingblocksml5,
Please share your code and csv for further debugging.

https://send.firefox.com/download/4efbd82af3a6957e/#pYotBvmNvbjmZ6Z1O2MOOQ The file was a .txt as written in Submission Format

It says the output must be of 2000 characters only. I doubt it’s exceeding 2000 in your case. Please send the code too, So i can debug it.

https://send.firefox.com/download/9c897554ec2a2356/#pL8_aM6TL-hF4USgUyvP_A here is the link of code. BTW I had already made sure that only 2000 size is there

https://send.firefox.com/download/738f066d5a38d249/#WPPpjNJP4RewYggd_PLKHg
I fixed your code and now it’s generating correct output. Please do the neccesary changes and ask if you did n’t understand any part.