Question: python Task 1 (4 points) Prompt the user with a trivia question. Keep repeating the question until they enter the right answer. Once they get

python
Task 1 (4 points) Prompt the user with a trivia question. Keep repeating the question until they enter the right answer. Once they get it right, report the number of attempts they took. Hints: Use a while loop. Create a variable representing the number of attempts, initially set to 0. Inside the body of the while loop, make in increase by 1 by doing this variablename += 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
