Python Program to Print First n Numbers using For loop
Write Python Program to Print First n Numbers using For loop
# Write Python Program to Print First n Numbers using For loop n = 10 for i in range(1, n + 1): print(i, end = ' ')
Output:
1 2 3 4 5 6 7 8 9 10