From 2f04bd7bc8e5c6968b0d40c288069eee92040f48 Mon Sep 17 00:00:00 2001 From: Arina Dohadailo Date: Thu, 5 Nov 2026 22:50:33 +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=20u8/program.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- u8/program.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/u8/program.py b/u8/program.py index 3e81b25..2558f07 100644 --- a/u8/program.py +++ b/u8/program.py @@ -2,10 +2,11 @@ import sys sys.setrecursionlimit(1000000) print("Expert zo zoo to vie.") +raw = sys.stdin.read() +rows = raw.split("\n") +if rows[-1] == "": + rows = rows[:-1] - -print("Pocet otazok: 0") -print("Pocet odpovedi: 1") -print("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.") -print(base[0]) -print("Koniec") \ No newline at end of file +pos = 0 +question_count = 0 +answer_count = 0