Добавить calculator

This commit is contained in:
DocenkoV 2025-11-24 02:58:51 +00:00
commit b8b56b6f66

11
calculator Normal file
View File

@ -0,0 +1,11 @@
a = int(input("Введите первое значение"))
b = int(input("Ввеидте второе значение"))
d = str(input("дейтсвие: */+?"))
if d == "*":
c = a*b
print(c)
elif d == "+":
e = a+b
print("Ответ:",e)
else:
print("eror")