Python-Guessing-Game-1

Activity Instructions: Inputs: Input a number (1-100)

Get a random number (library random)

Create a code in Python that will determine if the inputted number is the same as the random number.

possible outputs:

  • your guess is higher.
  • your guess is lower.
  • you are correct.
  • invalid guess.

Functions:

  • It keeps a temporary score of your game.
  • More lives earn you higher scores
  • You can only guess 3 times per game
  • The game can be played again or can be exited after each game session.
  • Invalid inputs such as putting letters instead of numbers makes you guess again without losing any lives.