Series – 1

Series – 1. Given two integers A and B (where A is less than or equal to B), print all numbers from A to B, inclusive.

Test Case Input (A, B) Expected Output
1 1
5
1
2
3
4
5
2 -3
2
-3
-2
-1
0
1
2
3 7
7
7