PYTHON CODE:
The Quiz game asks the player questions about animals. They have
three chances to answer each question you don’t want to take the
quiz too difficult. Each correct answer will score a point. At the
end of the game, the program will reveal the player’s final score.
This quiz game uses a function; a block of code with a name that
performs a specific task. A function allows you to use the same
code several times, without having to type everything each time.
Python has a lot of built-in functions, but it also allows you to
create your functions. The program should continue to check if
there are any questions to ask and if the player has exhausted all
his chances. The score is stored in a variable during the game.
Once all the questions have been answered, the game ends.
PYTHON CODE: The Quiz game asks the player questions about animals. They have three chances to answer each question you
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
PYTHON CODE: The Quiz game asks the player questions about animals. They have three chances to answer each question you
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!