Yes you're correct, I now know what the problem was. When I changed it to return self.name, when I would run the app it would do nothing. I just realised have I have to print the DisplayName()
Thanks for the help!
I'm going through tutorial and I'm currently stuck when trying to implement classes. I get a problem with how I declare variables for a specific object. Any help would be greatly appreciated. Thanks again for taking the time to look into this.
#------
# CLASS: Cat
# Description: This creates...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.