https://www.acmicpc.net/problem/2935
import sys
A = int(input())
op = input()
B = int(input())
if op=="*" : print(A*B)
else: print(A+B)
'PROGRAMMING CODE > PYTHON' 카테고리의 다른 글
[BAEKJOON] No.11653 Python (0) | 2023.02.09 |
---|---|
[BAEKJOON] No.10817 Python (0) | 2023.02.07 |
[BAEKJOON] No.5355 Python (0) | 2023.02.07 |
[BAEKJOON] No.2914 Python (0) | 2023.02.06 |
[BAEKJOON] No.10699 Python (0) | 2023.01.27 |