You are viewing a single comment's thread. Return to all comments →
why not only this code?:
seq 1 2 99
same with you
That is pretty cool, but I think the purpose of the assignment is for people to learn the for loop in Bash and apply it to the challenge.
you'd think so from the problem statement, but if you click on Editorial, the problem tester's code is a while loop