a=int(input())
b=int(input())
znak=input()
if znak=="+":
print(a+b)
elif znak=="-":
print(a-b)
elif znak=="*":
print(a*b)
elif znak=="/":
print(round(a/b, 3))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a=int(input())
b=int(input())
znak=input()
if znak=="+":
print(a+b)
elif znak=="-":
print(a-b)
elif znak=="*":
print(a*b)
elif znak=="/":
print(round(a/b, 3))