Can anyone tell me what’s going on here? What’s stopped it all? Why can I not see the duplicate of “Python” as “PythonPython”, but not this (in the pic)?
`
class Text:
def __init__(self, str):
self.string = str
def duplicate ():
return self.string+self.string
`
You are printing the function instead of the result of the function. Add parenthesis after the name of the function to call it.