This Python program is a game that tests your knowledge of TV series ratings. The program randomly selects two TV series and asks the player to choose which one has a higher IMDb rating.
- The program randomly selects two TV series from a pre-defined list and asks the player to choose which one has a higher rating.
- The player's score is tracked throughout the game.
- The game asks the player if they want to play again after finishing a round.
- The game displays the name, year, and genre of the TV series.
import
statement to include required modulesdef
statement to define functionswhile
loop to keep the game running until the player chooses to stopif-elif-else
statement to evaluate the user's input and check the correctness of the answerinput()
function to get user inputprint()
function to display information to the consolechoice()
function to randomly select TV series from the pre-defined listlambda
function to clear the console screen
I've written a detailed article explaining how this game works and how to run it step-by-step on Medium. Check it out here: Higher Lower Game in Python: TV Show Ratings
You can also follow my coding journey on my coding journal From Beginner to Pro: A Python Project Journal of Learning and Innovation, where I share my all projects article.
Thank you for checking out my project!