From fb7b3d34328675725edf683fa1630a51b705defa Mon Sep 17 00:00:00 2001 From: IvaevR Date: Thu, 27 Nov 2025 08:41:43 +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 --- calcIV.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 calcIV.py diff --git a/calcIV.py b/calcIV.py new file mode 100644 index 0000000..e36c527 --- /dev/null +++ b/calcIV.py @@ -0,0 +1,17 @@ +a = int(input("Введи первое число")) +b = int(input("Введи первое число")) +d = str(input("Что будем делать?")) +if d == "*": + c = a*b + print("Твой ответ", c) +elif d == "Умножить": + c = a*b + print("Твой ответ", c) +elif d == "Сложить": + c = a+b + print("Твой ответ", c) +elif d == "+": + c = a+b + print("Твой ответ", c) +else: + print("Такое не умеем") \ No newline at end of file