Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problems with inheritance with classes
Post: RE: Problems with inheritance with classes

Hey. I have a similar program and it works perfectly for me. Hope it helps. class Restaurant(): """Information storage for restaurants""" def __init__(self,name,cuisine): self.name=name self.cui...
langley General Coding Help 3 2,592 Jul-04-2019, 10:03 AM
    Thread: Unexpected Output using classes and inheritance
Post: RE: Unexpected Output using classes and inheritanc...

Oops. I noticed that. Indentation is key. Thanks a lot. Works perfectly now.
langley General Coding Help 2 1,944 Jul-04-2019, 09:33 AM
    Thread: Unexpected Output using classes and inheritance
Post: Unexpected Output using classes and inheritance

I am a beginner at python and in the code below I get an error saying attribute was not defined or saying a list is not callable if I make a few changes. Please help me through this. class User(): "...
langley General Coding Help 2 1,944 Jul-04-2019, 08:28 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020