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