Skip to content

Commit b6ccc89

Browse files
committed
Update requirements.txt
1 parent 4ef5330 commit b6ccc89

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

create_quiz.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def describe(self):
6464
cats_text = [QUIZ_CATEGORIES[cat] for cat in self.categories]
6565

6666
print(f"Quiz title: {self.quiz_title}\n{self.num_rounds}"
67-
f" rounds of {self.num_questions} {self.difficulty} questions. \n"
68-
f"\nCategories are:\n")
67+
f" rounds of {self.num_questions} {self.difficulty} questions.\n"
68+
f"\n Categories are:\n")
6969
print(*cats_text, sep=", ")
7070

7171

@@ -133,13 +133,15 @@ def setup_new_quiz():
133133
try:
134134
rounds = int(input("How many rounds should the quiz have? \n"))
135135
except ValueError:
136-
cprint("You must enter a number of rounds for the quiz.\n", "red")
136+
cprint("You must enter a number of rounds for the quiz.\n",
137+
"red")
137138
continue
138139
if rounds < 0:
139140
cprint("Sorry, you must enter a positive number.\n", "red")
140141
continue
141142
if rounds > 10:
142-
cprint("Sorry, you can only have a maximum of 10 rounds.", "red")
143+
cprint("Sorry, you can only have a maximum of 10 rounds.",
144+
"red")
143145
continue
144146
else:
145147
break

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
art==5.6
22
cachetools==5.0.0
3+
dnspython==2.2.1
4+
email-validator==1.2.0
35
google-api-core==2.7.2
46
google-api-python-client==2.45.0
57
google-auth==2.6.5

0 commit comments

Comments
 (0)