Visually separate the results from the questions
authorW. Trevor King <wking@tremily.us>
Tue, 5 Feb 2013 14:34:03 +0000 (09:34 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 5 Feb 2013 14:34:03 +0000 (09:34 -0500)
quizzer/ui/cli.py

index 12b85bd5b31fc5ab36f4f7ddb4b8a954cb2afeb5..385a9a4044ff51b4c78a79b60837a85a23656688 100644 (file)
@@ -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]: