Think of a genre (science, music, math, sports, video games, etc.) and create at least 10 questions. You can decide whether you want to make the questions multiple choice or not. Then, log on to REPL.it to get programming.

Your quiz program must have the following items:

It must start by asking the user what their name is and welcoming them to your quiz. It pays to be polite!
Set up a variable to keep score. It is up to you how to design the points system. Will you give them 10 points for a correct answer and 0 for an incorrect answer? Or perhaps you will be tough and take away points for an incorrect answer!
Ask your 10 quiz questions. If they get a question wrong, be sure to tell the user what the correct answer was. Then, adjust the score appropriately, depending on whether their answer was right or wrong.
At the end of the program, tell the user their score.
Need an extra challenge? Try the following. These are not required.

Research how to use the lower() or upper() functions to allow the user to capitalize their answer (or not) and still receive credit as a correct answer.
Tell the user what percentage of the questions they got correct! Please write this code in python.

Respuesta :

Answer:

btw, I am doing this same assignment so when im done I should be able to send you a copy of my code. (plz don't put 1 star)

Answer:

"Are apples Magenta?"\n(a) yes\n(b) sometimes\n (c) no\n\n",

"Are apples Teal?"\n(a) yes\n(b) sometimes\n (c) no\n\n",

"Are apples Gray?"\n(a) yes\n(b) sometimes\n (c) no\n\n",

"Are apples Green?"\n(a) yes\n(b) sometimes\n (c) no\n\n",

"Are apples Cyan?"\n(a) yes\n(b) sometimes\n (c) no\n\n",

danielkrkv avatar

]

Questions(Question prompts[0], "a")

Questions(Question prompts[1], "c")

Questions(Question prompts[2], "c")

Questions(Question prompts[3], "c")

Questions(Question prompts[4], "c")

Questions(Question prompts[5], "b")

Questions(Question prompts[6], "c")

Questions(Question prompts[7], "c")

Questions(Question prompts[8], "a")

Questions(Question prompts[9], "c")

]

Explanation:

This is what the other guy said, but now it is an answer instead of a comment. Sorry if it sound rude