[guess.py] - add and display counter to guesses upon game ending
drocpdp opened this issue · comments
When user completes game successfully, display message displaying number of guesses it took to complete.
Include tests.
Message will be:
(if guesses > 1)
Congratulations! You guessed the right answer:[value]
It took you [number of guesses] guesses!
(if guesses == 1)
Congratulations! You guessed the right answer:[value]
It took you 1 guess!
If this issue is feasible, could you kindly assign to me? :-)
Printing the number of guesses is already one of the suggested exercises at the top.