5.11. (Part 1) Math Quiz - Python

in programming •  8 years ago 

Starting out with Python, Third Edition, Tony Gaddis
Chapter 5
Programming Challenges

  1. Math Quiz

Write a program that gives simple maths quizzes. The program should display two random numbers that are to be added, such as:

       247 
     + 129

The program should allow the student to enter the answer. If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed.

Starting out with Python. Third Edition. Tony Gaddis.

Happy Steeming Everyone! :)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!