[python] 60Q - 12 수우미양가
def sumag(totalResult): if totalResult > 90: return '수' elif totalResult > 80: return '우' elif totalResult > 70: return '미' elif totalResult > 60: return '양' else: return '가' a = list(map(int, input().split())) totalResult = sum(a) print(totalResult, int(totalResult / 3), sumag(totalResult/3))
python
2020. 11. 14. 10:30
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 괄호
- 넓이
- 꿀따기
- 파이썬
- 카카오 2021 블라인드 테스트
- 21758
- web
- 피보나치
- 7567
- 👼
- 1
- HackCTF
- FIBO
- 직업군 추천
- 프로그레머스
- 다익스트라
- 나머지
- c++
- 쇠막대기
- programmers
- 4
- boj
- 2
- math
- openCV
- 백준
- 스택
- 더하기
- forensic
- python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함