Question: from question import Question ## A question with multiple choices. # class ChoiceQuestion ( Question ) : ## Constructs a choice question with a given
from question import Question
## A question with multiple choices.
#
class ChoiceQuestionQuestion :
## Constructs a choice question with a given text and no choices.
# @param questionText the text of this question
#
def initself questionText :
# Your code goes here
# Add any needed instance variables, but don't store the choices
# The choices should be added to the text of the superclass
## Adds an answer choice to this question.
# @param choice the choice to add
# @param correct True if this is the correct choice, False otherwise
#
def addChoiceself choice, correct :
# Your code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
