https://www.acmicpc.net/problem/2935
#Solution
파이썬으론 틀릴 수가 없는 문제다.
A = int(input())
cal = str(input())
B = int(input())
if cal == '*':
print(A*B)
else:
print(A+B)
'Programming [Python] > 백준 알고리즘 솔루션' 카테고리의 다른 글
#173 백준 파이썬 [1789] 수들의 합 (0) | 2019.11.05 |
---|---|
#172 백준 파이썬 [10757] 큰 수 A+B (0) | 2019.11.05 |
#170 백준 파이썬 [5355] 화성 수학 (0) | 2019.11.05 |
#169 백준 파이썬 [2914] 저작권 (0) | 2019.11.05 |
#168 백준 파이썬 [2530] 인공지능 시계 (0) | 2019.11.05 |