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
- 편스토랑
- Git
- 백준
- 더현대서울 맛집
- hackerrank
- leetcode
- Baekjoon
- 파이썬
- ChatGPT
- Docker
- Kaggle
- 데이콘
- 금융문자분석경진대회
- SW Expert Academy
- 캐치카페
- 우분투
- github
- AI 경진대회
- 자연어처리
- gs25
- 맥북
- Real or Not? NLP with Disaster Tweets
- 프로그래머스
- 코로나19
- ubuntu
- PYTHON
- dacon
- programmers
- 프로그래머스 파이썬
- 편스토랑 우승상품
Archives
- Today
- Total
목록
반응형
13420번 (1)
반응형
솜씨좋은장씨
[BaekJoon] 13420번 : 사칙연산 (Python)
코딩 1일 1문제! 오늘의 문제는 사칙연산 입니다. 13420번: 사칙연산 사칙연산은 덧셈, 뺄셈, 곱셈, 나눗셈으로 이루어져 있으며, 컴퓨터 프로그램에서 이를 표현하는 기호는 +, -, *, / 와 같다. 아래는 컴퓨터 프로그램에서 표현한 사칙 연산의 예제이다. 3 * 2 = 6 문 www.acmicpc.net Solution def arithmetic_operation(mathematical_expression): is_correct = "wrong answer" num1, operator, num2, _, result = mathematical_expression.split() num1, num2, result = int(num1), int(num2), int(result) if (operator ..
Programming/코딩 1일 1문제
2021. 7. 8. 00:50
반응형