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 |
Tags
- 코로나19
- 파이썬
- 자연어처리
- Git
- SW Expert Academy
- 편스토랑
- PYTHON
- 우분투
- 데이콘
- 금융문자분석경진대회
- hackerrank
- Docker
- 프로그래머스 파이썬
- Baekjoon
- programmers
- 캐치카페
- ubuntu
- Kaggle
- 백준
- gs25
- Real or Not? NLP with Disaster Tweets
- AI 경진대회
- github
- 맥북
- leetcode
- 프로그래머스
- 편스토랑 우승상품
- ChatGPT
- dacon
- 더현대서울 맛집
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 5717번 : 상근이의 친구들 (Python) 본문
728x90
반응형
코딩 1일 1문제! 오늘의 문제는 백준의 상근이의 친구들 입니다.
👨🏻💻 코드 ( Solution )
def sangeoun_friends(male_friend_num, female_friend_num):
return male_friend_num + female_friend_num
if __name__ == "__main__":
while True:
male_friend_num, female_friend_num = map(int, input().split())
if male_friend_num + female_friend_num == 0:
break
print(sangeoun_friends(male_friend_num=male_friend_num, female_friend_num=female_friend_num))
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 23348번 : 스트릿 코딩 파이터 (Python) (0) | 2022.10.23 |
---|---|
[BaekJoon] 25178번 : 두라무리 휴지 (Python) (0) | 2022.10.22 |
[BaekJoon] 16693번 : Pizza Deal (Python) (0) | 2022.10.20 |
[Programmers] 삼총사 (Python) (0) | 2022.10.19 |
[BaekJoon] 21598번 : SciComLove (Python) (0) | 2022.10.17 |
Comments