as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create an algorithm that prints the numbers from 1 to 10.
user
a algorithm that prints the numbers from 1 to 10:
1. initialize a counter variable with the value 1. 
2. create a loop that runs as long as the counter is less than or equal to 10.
3. inside the loop, print the value of the counter.
4. increment the counter by 1 and go back to step 2.
assistant