Which programming language are you working in?
Here is how you could achieve this in Python:
establish a counter, starting at 1.
While your counter is 10 or less, do two things:
print the counter,
and increase the counter by 1.
code:
counter = 1
while counter <= 10:
print(counter)
counter = counter + 1
Those last two lines should be indented.