I'm just starting to learn classes and objects in Python and I've looked online to find an answer to why it is coming up with the error: "nameError, 'Bedroom' is not defined" and theres been many answers and explanations in that I have to define the class but I just can't see what I'm personally doing wrong its driving me nuts and I know its probably a really stupid mistake, but you learn from them I suppose.
prompt = "> "
class Start():
print "Project Storm v0.01"
print "Press Enter to Play"
raw_input(prompt)
bedroom = Bedroom(Room)
class Room():
def enter(self):
pass
class Bedroom(Room):
def enter(self):
print "You wake up dazed and confused with no memory of how you got here."
print "You find yourself in a dark bedroom with a closed door and a small lamp on the side."