This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Python has several modules to create applications. What was the function of the random module in your minigame?
random
Create a list of options for the user to choose from.
Be the user's opponent.
Calculate the score of the game.
What is the function of the lower method?
lower
Put the user's option in lowercase.
What is the function of the input method?
input
Get a user input.
What is the function of the break method?
break
Create a repetition structure.
End a repetition structure.
You must answer all questions before checking your work.
Continue
Was this page helpful?