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

This commit is contained in:
DyakonovS 2025-11-09 10:17:59 +00:00
commit f284fbcb66

12
calculator.py Normal file
View File

@ -0,0 +1,12 @@
a = float(input("Введите первое число"))
operation = input("+ или * ? ")
b = float(input("Введите второе число:"))
if operation == "+":
print(a+b)
elif operation == "*":
print(a*b)
else:
print("Ощибка")