web-dev/hws/hw-1/arithmetic_operators.py
2026-02-13 15:01:19 +03:00

8 lines
161 B
Python

a = float(input())
b = float(input())
if 1 <= a <= 10 ** 10 and 1 <= b <= 10 ** 10:
print(a + b)
print(a - b)
print(a * b)
else:
print("Error")