Python Object-Oriented Python Instant Objects Your first method

Your First Method, Python Objects

I keep getting the rather unhelpful message "Try Again!" I have no understanding of what to do here.
class Student:
    name = "Niko"
    def praise(
        print("Great job, {}!".format(

1 Answer

Steven Parker
Steven Parker
200,758 Points

You're close, but:

  • name is a instance variable, so you don't need it as a parameter (just "self")
  • the function should return the created string
  • you don't need to "print" anything