SoniaBarasa / country-capital-quiz-game

This repository is for general learning purposes. Aim is to learn conventional way to write a python code.
1 stars 2 forks source link

Small code simplification within the check_guess() function #5

Closed alimanfoo closed 1 year ago

alimanfoo commented 1 year ago

Hi @SoniaBarasa, I'm enjoying this game 🙂

Here is a small suggestion about how to simplify some of the code within the check_guess() function.

ahernank commented 1 year ago

@SoniaBarasa here you have a new code suggestion for your repository (i.e. a PR from a contributor), you can:

To review the code:

SoniaBarasa commented 1 year ago

Hello @alimanfoo , Thank you very much for your suggestions! I have accepted your code simplification and so I am going to close this pull request.