Question: Write a function that takes two arguments - a quiz question and the correct answer. In your function, you will print the question, and ask

Write a function that takes two arguments - a quiz question and the correct answer. In your function, you will print the question, and ask the user for the answer. If the user gets the answer correct, print a success message. Else, print a message with the correct answer. Your program doesn't need to return anything. Call your function with two example quiz questions. Here's some suggestions, Q: What year did Apollo 11 land on the moon? Answer: 1969 Q: Who painted the Mona Lisa? Answer: Leonardo da Vinci

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!