Python3 proram to Print all the numbers between 1 to N.

**Python Code:**

1 2 3 4 |
n =int(input("Enter a number :")) for i in range(1,n): print(i) |

**Output:**

Python3 proram to Print all the numbers between 1 to N.

**Python Code:**

1 2 3 4 |
n =int(input("Enter a number :")) for i in range(1,n): print(i) |

**Output:**

%d bloggers like this: