알고리즘_Algorism/Codeup
Codeup 1253 : a 부터 b 까지 출력하기
Jye_647
2019. 7. 14. 02:09
https://codeup.kr/problem.php?id=1253
1253 : a 부터 b 까지 출력하기
a, b = map(int, input().split())
if (a < b):
for i in range(a, b+1):
print(i, end=' ')
else:
for i in range(b, a+1):
print(i, end=' ')