Inspiration
We were inspired to create an animal quiz for animal lovers to test their knowledge.
What it does
It randomizes the questions defined in the function animal_quiz1 and calls the function to execute the code, accomplishing the program.
How we built it
We first came up with ideas for the program. Then, we defined the function animal_quiz1 and wrote all the questions. After that, we added code which displayed feedback to the user for the corresponding score they received, also tracking their score during the quiz with var score.
Challenges we ran into
We had some trouble implementing the score variable in order to display the correct response to the user after the quiz. We quickly fixed this error.
Accomplishments that we're proud of
We are proud to have created a program that any animal lover can use to test their knowledge and see how they could potentially compare to their friends!
What we learned
We learned that it can be easy to implement functions, and use import statements to gain access to take advantage of the large amount of libraries python has access to. We specifically imported random
What's next for Animal Quiz Game
In the future, we are planning to add more questions to the quiz and can make multiple quiz sets. These sets would have different difficulty levels and the user can select whatever set they would like to play.
We wrote this program for animal lovers, and even those who just want to test their general knowledge.
Faraz brainstormed the animal quiz and helped plan out the code for our animal quiz. Rayhan coded the first half of the animal quiz, defining the function animal_quiz1 and coming up with ideas for all the questions. Blake coded the second half of the animal quiz, implementing var score and giving feedback to the user based on their input to answer the questions that were put in a random order.
Log in or sign up for Devpost to join the conversation.