Question: create a function: quiz _ item ( ) that asks a question and tests if input is correct quiz _ item ( ) has 2

create a function: quiz_item() that asks a question and tests if input is correct
quiz_item()has 2 parameter strings: question and solution
shows question, gets answer input
returns True if answer == solution or continues to ask question until correct answer is provided
use a while loop
create 2 or more quiz questions that call quiz_item()
Hint: provide multiple choice or TF answers
In [1]: , # Create quiz_item() and 2 or more quiz questions that call quiz_item()
#quiz_item()has 2 parameter strings: question and solution
 create a function: quiz_item() that asks a question and tests if

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!