Description
In this simple project, I'll show you how to write a Python program to do the following:
display an add question between 2 randomly generated integers in the form:
"a + b = ?" or
"a + ? = b" or
"? + a = b"
the "?" position will be random as well
Accept and validate user input as answer, if user enters letters, not numbers, then ask user to input again
Create an infinite loop to ask questions again and again until user answers incorrectly, then quit the program and output how many questions user has answered correctly
Output comment on how well user has done, based on the number of questions user answered correctly.
-------------------------
Python Coding for Beginners
Learn Python by Building Projects
Python Programming by Exercises and Practical Examples
#PythonCoding
#PythonProgramming
#PythonProjectsBuilding