From 49bc134c89f45195b1696d7cfff1c95fce619551 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 5 Feb 2013 09:34:03 -0500 Subject: [PATCH] Visually separate the results from the questions --- quizzer/ui/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quizzer/ui/cli.py b/quizzer/ui/cli.py index 12b85bd..385a9a4 100644 --- a/quizzer/ui/cli.py +++ b/quizzer/ui/cli.py @@ -12,6 +12,7 @@ class CommandLineInterface (UserInterface): answer = input('? ') a = answer.strip().lower() if a in ['q', 'quit']: + print() return if a in ['?', 'help']: print() @@ -26,6 +27,7 @@ class CommandLineInterface (UserInterface): print('incorrect\n') def display_results(self): + print('results:') for question in self.quiz: if question in self.answers: for answer in self.answers[question]: -- 2.26.2