ebosetalee / 20-days-challenge

#20dayschallenge on python
6 stars 0 forks source link

5b - Hangman-04 #15

Closed yudori closed 4 years ago

yudori commented 4 years ago

We want to take it a step further to keep track of two things:

  1. The letters that the user has correctly chosen - and their position in the word.
  2. The number of guesses the user has made

To implement (1), we'll use a 'Dictionary'. This dictionary tells us which letter has been correctly guessed and which letter has not. Use an integer variable to store (2).

Notes: