From 6de31fff559fa0d08d5ae66cd88a6c9b9dcacda2 Mon Sep 17 00:00:00 2001 From: Arina Dohadailo Date: Thu, 5 Nov 2026 23:11:05 +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, 13 insertions(+) diff --git a/u8/program.py b/u8/program.py index 74edc25..e5d5cff 100644 --- a/u8/program.py +++ b/u8/program.py @@ -33,3 +33,16 @@ def load(): else: answer_count += 1 return (text,) + +tree = load() + +if pos < len(rows): + if rows[pos] != "": + bad_database() + +answers = rows[pos + 1:] + +print("Pocet otazok:", question_count) +print("Pocet odpovedi:", answer_count) +print("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.") +