Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Baekjoon
- Kaggle
- 백준
- 파이썬
- ChatGPT
- Git
- programmers
- leetcode
- 맥북
- PYTHON
- gs25
- hackerrank
- 캐치카페
- Real or Not? NLP with Disaster Tweets
- 자연어처리
- ubuntu
- 편스토랑
- SW Expert Academy
- 코로나19
- AI 경진대회
- github
- 더현대서울 맛집
- 데이콘
- 편스토랑 우승상품
- 금융문자분석경진대회
- 프로그래머스 파이썬
- Docker
- 프로그래머스
- dacon
- 우분투
Archives
- Today
- Total
목록
반응형
몫과 나머지 출력하기 (1)
반응형
솜씨좋은장씨
[SW Expert Academy] 2029번 : 몫과 나머지 출력하기 (Python)
코딩 1일 1문제! 오늘의 문제는 SW Expert Academy의 몫과 나머지 출력하기 입니다. SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com 👨🏻💻 코드 ( Solution ) def quotient_remainder(num1, num2): quotient = num1 // num2 remainder = num1 % num2 return f"{quotient} {remainder}" if __name__ == "__main__": for idx in range(int(input())): num1, num2 = map(int, input().split()) print(f"#{idx+1} {quotient_..
Programming/코딩 1일 1문제
2021. 12. 1. 11:28
반응형