So I was doing this exercise this afternoon as linked below, and my code outputted ">" instead of "Jacala" and "20" as I've expected. When I changed the code "print Hippo.description" to "Hippo.description", nothing was printed at all. As I just learnt about the class in python, I guess there's something off with my code?
class Animal(object): """Makes cute animals.""" is_alive = True def __init__(self, name, age): self.name = name self.age = age # Add your method here! def description(self): print self.name print self.age Hippo = Animal("Jacala", 20) print Hippo.description