PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
n=int(input(""))
operation = input( )
k=int(input(""))
result = None
if operation == "+":
result=str(n+k)
elif operation == "-":
result=str(n-k)
elif operation == "*":
result=str(n*k)
elif operation == ":":
result=str(n/k)
if result is not None:
print ("result="+result )
#Пример(2
#+
#2)
#example(2
#+
#2)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run