Python Forum
I'm having trouble with my assignment for creating a math quiz
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm having trouble with my assignment for creating a math quiz
#1
I received my assignment and these were the instructions:

Write a program that gives a simple Math quizzes. The program should display two random numbers that are to be added together. The program should let the user enter their answer. If the answer is correct then the program should display a message that says Correct Congratulations! If the answer is not correct the program should display the correct answer and a message that says "Incorrect, Better Luck Next Time",  The program should also ask the user if he wants to take another quiz. At the end of the program the should be a report of how many quizzes the user took, along with how many wins and how many losses they had.

I will be looking for functions to be used throughout this program!  Don't forget in order to use the random function you must import the random library

I'm just not sure exactly how to do it. I need help!!
Reply


Messages In This Thread
I'm having trouble with my assignment for creating a math quiz - by thewrongnarwhal - Nov-13-2016, 06:46 AM
RE: Creating a math quiz - by Larz60+ - Nov-13-2016, 03:30 PM
RE: Creating a math quiz - by thewrongnarwhal - Nov-13-2016, 03:37 PM
RE: Creating a math quiz - by Ofnuts - Nov-13-2016, 05:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with a turtle movement assignment. JosephSondgeroth 1 1,390 Jan-27-2022, 11:56 PM
Last Post: JosephSondgeroth
  Self taught , (creating a quiz) syntax error on my array DarkAlchemyXEX 9 4,237 Jan-10-2020, 02:30 AM
Last Post: ichabod801
  Trouble with Loops in lab assignment jonstryder 6 3,357 Jul-28-2019, 06:40 PM
Last Post: ThomasL
  Trouble with "Weather Program" Assignment sarah_mb_sues 5 9,018 Aug-10-2018, 02:29 AM
Last Post: ichabod801
  Assignment help: Creating a resulting “wave” from two files AltF4ke 0 2,290 Apr-20-2018, 02:11 AM
Last Post: AltF4ke

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020