I ran it with the input given in the problem, and it gave this:
[1, 2, 88]
instead of this
1
2
88
edit: You do understand that the outputs are passed to an automatic comparer right? It detects that your output doesn’t match the expected, and so you get WA.
It’s good practice to make your output match the format of the sample exactly. In many problems, an extra space here or there won’t matter, but in some problems, even an extra space will also cause WA.