commit c24e44c19344debf58ffd6425277303307bd70b5 Author: KirpichnikovaV Date: Thu Nov 27 09:21:48 2025 +0000 Загрузить файлы в «/» diff --git a/calcularot2.py b/calcularot2.py new file mode 100644 index 0000000..2880e8f --- /dev/null +++ b/calcularot2.py @@ -0,0 +1,15 @@ +a = int(input("1 число: ")) +b = int (input("2 число: ")) +go = str(input("+, -, *, / : ")) +if go == "+": + c = a+b + print(c) +if go == "*": + d = a*b + print(d) +if go == "-": + e = a-b + print(e) +if go == "/": + t = a/b + print(t)