m = int(input())
n = int(input())
if n < m:
for i in range(m, n + 1):
print(i)
else:
for i in range(m, n - 1, -1):
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
m = int(input())
n = int(input())
if n < m:
for i in range(m, n + 1):
print(i)
else:
for i in range(m, n - 1, -1):
print(i)