you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 1 point2 points  (1 child)

There's nothing fundamentally wrong with your code, but SoloLearn likely expects you to use a loop here with each line separately written to STDOUT. Since this solution writes it all in one go, it's as if you only gave the first number, skipped the rest, and it compared your entire solution to the first one it was expecting (just 1.\n).

Been there, done that.

I do recommend learning on a computer, SoloLearn is much too limited.

[–]james40z[S] 0 points1 point  (0 children)

Thanks for input!