Загрузить файлы в «/»

This commit is contained in:
IvaevR 2025-11-27 08:41:43 +00:00
commit fb7b3d3432

17
calcIV.py Normal file
View File

@ -0,0 +1,17 @@
a = int(input("Введи первое число"))
b = int(input("Введи первое число"))
d = str(input("Что будем делать?"))
if d == "*":
c = a*b
print("Твой ответ", c)
elif d == "Умножить":
c = a*b
print("Твой ответ", c)
elif d == "Сложить":
c = a+b
print("Твой ответ", c)
elif d == "+":
c = a+b
print("Твой ответ", c)
else:
print("Такое не умеем")