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
- 파이썬
- 프로그래머스
- 프로그래머스 파이썬
- dacon
- ChatGPT
- Git
- 데이콘
- 편스토랑 우승상품
- github
- 금융문자분석경진대회
- 편스토랑
- gs25
- 자연어처리
- AI 경진대회
- Baekjoon
- Docker
- 코로나19
- Kaggle
- Real or Not? NLP with Disaster Tweets
- PYTHON
- hackerrank
- 더현대서울 맛집
- SW Expert Academy
- 백준
- programmers
- ubuntu
- leetcode
- 우분투
- 맥북
- 캐치카페
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 18398번 : HOMWRK (Python) 본문
728x90
반응형
코딩 1일 1문제! 오늘의 문제는 백준의 HOMWRK 입니다.
18398번: HOMWRK
In one of the beautiful cities of Afghanistan two sisters are going to program a simple game to help them solve their mathematics homework. Their homework asks them to calculate the sum and multiplication of two numbers. Your task is to help them to build
www.acmicpc.net
🧑🏻💻 코드 ( Solution )
def homwrk(A, B):
return f"{A+B} {A*B}"
if __name__ == "__main__":
T = int(input())
for _ in range(T):
N = int(input())
for _ in range(N):
A, B = map(int, input().split())
print(homwrk(A=A, B=B))
GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07
1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.
github.com
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 18408번 : 3 つの整数 (Three Integers) (Python) (0) | 2022.11.30 |
---|---|
[BaekJoon] 1340번 : 연도 진행바 (Python) (0) | 2022.11.29 |
[BaekJoon] 25955번 : APC는 쉬운 난이도 순일까, 아닐까? (Python) (0) | 2022.11.27 |
[BaekJoon] 24389번 : 2의 보수 (Python) (0) | 2022.11.26 |
[BaekJoon] 24608번 : Average Character (Python) (0) | 2022.11.25 |
Comments