5.11. (Part 1) Math Quiz - Python

in #programming7 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.18
TRX 0.14
JST 0.029
BTC 57893.29
ETH 3130.56
USDT 1.00
SBD 2.44