Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.74 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.74 KB

Higher Lower Game:TV Show Ratings

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.

Click here to play the game

Features

  • 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.

Python Features Used

  • import statement to include required modules
  • def statement to define functions
  • while loop to keep the game running until the player chooses to stop
  • if-elif-else statement to evaluate the user's input and check the correctness of the answer
  • input() function to get user input
  • print() function to display information to the console
  • choice() function to randomly select TV series from the pre-defined list
  • lambda function to clear the console screen

Learn More

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!