From c24e44c19344debf58ffd6425277303307bd70b5 Mon Sep 17 00:00:00 2001 From: KirpichnikovaV Date: Thu, 27 Nov 2025 09:21:48 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calcularot2.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 calcularot2.py 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)