Write a class named Question on a file Question.py. Each Question object will contain information about a single trivia question. Its __init__ function should take: 5 strings: a question four possible answers (one of which should be correct) An int: theWrite a class named Question on a file Question.py. Each Question object will contain information about a single trivia question. Its __init__ function should take: The Question class should overload the __str__ method. It should print the question string and the four possible answers. This class should also have a ‘guess’ method which takes an integer argument. If integer passed to guess matches the answer attribute return True. Otherwise return False In your main function on Main.py create a list of four Question objects. Initialize them with whatever questions and possible answers you want. Two players will be playing this game. In a loop print the first Question in the list and ask the first player for their guess then ask the second player for their guess. After both have guessed inform them of who got the question correct and increment the appropriate scores. Once all the questions have been asked inform the players of their scores. Submit both your Question.py and Main.py files.
- Free title page and bibliography
- Unlimited revisions
- Plagiarism-free guarantee
- Money-back guarantee
- 24/7 support
- Writer’s samples
- Part-by-part delivery
- Overnight delivery
- Copies of used sources
- Expert Proofreading
- 275 words per page
- 12 pt Arial/Times New Roman
- Double line spacing
- Any citation style (APA, MLA, Chicago/Turabian, Harvard)
We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.
The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.
The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.
By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.
Calculate the price of your order
The price is based on these factors:
Order your paper today and save 30% with the discount code HAPPY
error: Content is protected !!