From 34d419a03a3fd38a3988adbc7d7ca486b191f592 Mon Sep 17 00:00:00 2001 From: MirishukovaS Date: Thu, 13 Nov 2025 14:53:15 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Calculator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Calculator | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Calculator diff --git a/Calculator b/Calculator new file mode 100644 index 0000000..9399921 --- /dev/null +++ b/Calculator @@ -0,0 +1,11 @@ +a = int(input("Введите первую циферку")) +b = int(input("Введите вторую циферку")) +c = str(input("действие")) +if c == "+": + d = a+b + print(d) +elif c =="*": + e = a*b + print(e) +else: + print("Не обязан:3") \ No newline at end of file