Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- HTML
- 파이썬
- 상속
- 프로그래머스
- DTO
- 알고리즘
- 자바
- 부트캠프
- 캡슐화
- CRUD
- lv1
- SQL
- 브랜치
- 기본생성자
- Python
- entity
- 에러
- 코드업
- github
- Codeup
- html tag
- @NoArgsConstructor
- 부스트코스
- java
- HashSet
- 깃허브
- @builder
- stringbuffer
- git
- @AllArgsConstructor
Archives
- Today
- Total
잉?
Codeup 1253 : a 부터 b 까지 출력하기 본문
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=' ')
'알고리즘_Algorism > Codeup' 카테고리의 다른 글
Codeup 1258 : 1 부터 n 까지 합 구하기 (0) | 2019.07.14 |
---|---|
Codeup 1257 : 두 수 사이의 홀수 출력하기 (0) | 2019.07.14 |
Codeup 1256 : 별 출력하기 (0) | 2019.07.14 |
Codeup 1254 : 알파벳 출력하기 (0) | 2019.07.14 |
Codeup 1252 : 1 부터 n 까지 출력하기 (0) | 2019.07.14 |
Comments