From 930042e9067637268a494d255fafe494212ca8d2 Mon Sep 17 00:00:00 2001 From: IvaevR Date: Thu, 27 Nov 2025 08:57:42 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20My=5Ffirst=5Fcomit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calcIV.py => My_first_comit | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) rename calcIV.py => My_first_comit (96%) diff --git a/calcIV.py b/My_first_comit similarity index 96% rename from calcIV.py rename to My_first_comit index e36c527..f17f196 100644 --- a/calcIV.py +++ b/My_first_comit @@ -1,17 +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: +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