Project -1 : Quiz Game in Python
PROJECT-1 : Quiz Game

Link to see the code:
https://www.youtube.com/watch?v=_bKxBjSyRUA
Problems that I encountered
Finding which function or a library to use for checking the accuracy of the input with actual answer.
Ignore the small alphabetical mistakes form the users finding the library and using its function.
How to ignore the Case sensitivity.
How to use elif and nested else if
Functions that I have used
if-else: Used to apply conditions. The result it gives is either True or False.
elif: instead of else if we can shortly write 'elif' and give a condition if needed it shortens the length of the code.
from ___ import ___ : This function allows us to input libraries and allow us to use function in the code from that library
fuzzywuzzy : It is a library, i.e., This approach is more robust for handling minor typos and variations in user input. # It reduces dependency on external libraries specifically designed for spelling correction, making it more suitable for technical terms and acronyms. # #Using fuzzy matching can provide a more user-friendly experience by allowing slight errors without compromising the integrity of the quiz.
fuzz.ratio(answer , correct_answer): It will check the input answer with the correct_anwer and will save it in the ratio form ex:- 80%, 50% ...
lower() :This function converts the string into a lower case letters.
upper(): This function converts the string into an upper case letters.
Dictionary : [("key" , "value"), ('key' , 'value')]
for loop: It loops until there is no value left.
quit(): This function is used to end the programme
play_quiz(): This is a user defined function which can be called form anywhere.
What I Learned
I Learned how to install the library fuzzywuzzy and use its function i.e., fuzzy.ratio(answer, correct_answer)
How to search for solutions for an error on Stack overflow
using nested else-if
How we can use dictionary in for loop

![React Beginner [project based learning]](https://cdn.hashnode.com/res/hashnode/image/upload/v1725214935692/ae3dd028-c656-4bf0-8c57-588feeedba13.jpeg)
