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

This commit is contained in:
HalikovM 2025-11-24 01:16:39 +00:00
commit d25702c1d0

11
calc.py Normal file
View File

@ -0,0 +1,11 @@
a=float
b=float
a=float(input("Введите 1 число: "))
b=float(input("Введите 2 число: "))
c=str(input("Введите знак + для сложения или знак * для умножения:"))
if c == "+":
print(a+b)
elif c == "*":
print(a*b)