Write a constructor for a class called Book that will have a title, author, and price.
Describe why the following code might be frustrating to the player of the game and how you might change it.
while self.doorlocked == True:
response = input("Enter the escape code.")
if (response == doorCombo):
print("You have escaped!")
self.doorlocked = False
Write code that will randomly output one of four phrases to a student who has gotten a correct answer on a quiz.
Imagine that you are creating a program that an online streaming service will use to manage its inventory of shows. Describe at least two classes that you would create and several subclasses.
Describe what information should be in the comments at the top of a program file and why that information would be helpful.
unit 5 CTQ