Добавить Calculator

This commit is contained in:
MirishukovaS 2025-11-13 14:53:15 +00:00
commit 34d419a03a

11
Calculator Normal file
View File

@ -0,0 +1,11 @@
a = int(input("Введите первую циферку"))
b = int(input("Введите вторую циферку"))
c = str(input("действие"))
if c == "+":
d = a+b
print(d)
elif c =="*":
e = a*b
print(e)
else:
print("Не обязан:3")