My task is to redefine the command \Line such that it would have one argument, value of the counter index. It should produce columns with the content 1, 2, 3, ..., n. Here n is value of the counter index.

I am filling that there exists a solution with \whiledo but still my attempts to find it are unsuccessful. I would be appreciate for any help.