user
Given a set of instructions, come up with a code snippet that performs the instruction.

Now complete the following instance -
Input: Write a program in Python to print the numbers from 1 to 50.
Output:
assistant
for i in range(1,51):
    print(i)