5.11. (Part 1) Math Quiz - Python

in #programming9 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! :)

Coin Marketplace

STEEM 0.08
TRX 0.29
JST 0.035
BTC 103650.23
ETH 3392.49
USDT 1.00
SBD 0.53