From cf09d8ceb946180c7f711e885f31c4dd71610628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kon=C4=8Dick=C3=BD?= Date: Tue, 4 May 2021 18:29:20 +0200 Subject: [PATCH] =?UTF-8?q?Kalkula=C4=8Dka=20um=C3=AD=20i=20modulo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kalkulacka.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kalkulacka.py b/kalkulacka.py index 5848f40..6437d9f 100644 --- a/kalkulacka.py +++ b/kalkulacka.py @@ -10,6 +10,8 @@ elif operator == '*': print("Součin je", a * b) elif operator == '/': print("Podíl je", a // b) +elif operator == '%': + print("Modulo je", a % b) elif operator == '^': print("Mocnina je", a ^ b) else: