알고리즘 문제 풀기/Codeup
Codeup 1253 - a부터 b까지 출력하기
bug_maker
2019. 1. 2. 08:37
http://codeup.kr/problem.php?id=1253
Codeup 1253 - a부터 b까지 출력하기
xa, b = input().split()a = int(a)b = int(b)if(a > b): for i in range(b, a+1): print(i, end=' ')else: for i in range(a, b+1): print(i, end=' ')