Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started