- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
a = float(input())
b = float(input())
operation = input()
if operation == '+':
print(a + b)
elif operation == '-':
print(a-b)
elif operation == '*':
print(a*b)
elif operation == '/':
print (a /b)
elif operation == 'mod':
print(a%b)
if b == 0:
print ("Деление на 0!")
elif operation == 'div':
print(a//b)
elif operation == 'pow':
print(a**b)
rootOtotot 05.10.2022 05:17 # −3
3uMuCTOH 05.10.2022 23:29 # 0