This pull request addresses the issues identified in the quizz.py script, where there was a mix of English and French in user prompts and a potential for randomly generated incorrect answers to inadvertently be correct.
Changes Made
Language Consistency: All user-facing texts, including prompts and error messages, have been standardized to English. This ensures a consistent and clear user experience.
Controlled Answer Generation: Modified the way incorrect answers are generated for quiz questions. Instead of using a random number, which could accidentally match the correct answer, a set of predefined incorrect answers has been implemented for each question.
Testing
The changes have been tested to ensure that:
The quiz now only communicates in English.
No randomly generated answer coincides with the correct answer.
Conclusion
These changes aim to improve the clarity and reliability of the quizz.py script. I believe these modifications enhance the overall user experience and maintain the integrity of the quiz game.
Looking forward to any feedback or further suggestions.
Overview
This pull request addresses the issues identified in the
quizz.py
script, where there was a mix of English and French in user prompts and a potential for randomly generated incorrect answers to inadvertently be correct.Changes Made
Testing
The changes have been tested to ensure that:
The quiz now only communicates in English. No randomly generated answer coincides with the correct answer.
Conclusion
These changes aim to improve the clarity and reliability of the
quizz.py
script. I believe these modifications enhance the overall user experience and maintain the integrity of the quiz game.Looking forward to any feedback or further suggestions.