Format of The Output List

My solution is coming correct, I am just confused because the judge is showing wrong because of my output format, Can anyone please explain the output format ? Do we have to put the square brackets around the list?

yes you have to put square brackets and commas.

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.