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

This commit is contained in:
SirtlanovaR 2025-11-08 17:34:12 +00:00
commit 0318e2c830

12
.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("Ошибка")