"Series - 1 : Given two integers A and B (A ≤ B). Print all numbers from A to B inclusively. " - Snackify python coding question

 

 


 

CODING QUESTION

Given two integers A and B (A ≤ B). Print all numbers from A to B inclusively.


SOLUTION

a=int(input())
b=int(input())
for i in range(a,b+1):
    print(i,sep=' ')

 

Input : 

1
10


Output : 

1
2
3
4
5
6
7
8
9
10