This is the code I have written:
def init(self, name):
self.name = name
zebra = Animal("Jeffrey") print zebra.name
bur anytime I press save and continue, it keeps giving error asking if have declared a variable called zebra.
Please help me check where have been making a mistake.
This is the task for that section:
Outside the Animal class definition, create a variable named zebra and set it equal to Animal("Jeffrey").
Then print out zebra's name.