Python Object-Oriented Python Instant Objects Method Interactivity

Dean Shalem
Dean Shalem
2,185 Points

what is wrong here!

I am pretty certain I'm right. Compiler error?
class Student:
    name = "Your Name"

    def praise(self):
        return "You inspire me, {}".format(

    def reassurance(self):
        return "Chin up, {}. You'll get it next time!".format(

    def feedback(self, grade):
    if grade > 50:
        return self.praise()

        return self.reassurance()

1 Answer

Pedro Cabral
Pedro Cabral
Front End Web Development Techdegree Student 31,398 Points

After you define your feedback function, your code needs to be indented one level further.