/Guess-the-number

Guess The Number game with "Play again" feature and exception handling

Primary LanguagePythonMIT LicenseMIT

Guess the number game with "Play again" feature

A beginner's program for practice purposes. The user tries to guess a number with the program indicating whether the correct answer is higher or lower than the guess. Game played in the command line. Python 3 is needed.

No prior formal education.

Walkthrough

  • The program expects whole numbers;
  • The number of guesses made is displayed at the end;
  • User can play again by entering "yes" when prompted.