Skip to content
← Back to Community
Python Animal Quiz
Profile icon
kenny05

It's a Guessing game

This project makes use of a function—a
block of code with a name that performs
a specific task. A function lets you use the
same code repeatedly, without having to
type it all in every time. Python has lots
of built-in functions, but it also lets you
create functions of your own.

The program keeps checking whether there are any
questions left to ask and whether the player has used
up all of their chances. The score is stored in a variable
during the game. Once all the questions have been
answered, the game ends.

Voters
Profile icon
kenny05