Hi, everyone! How are you all?
I hope everyone is fine!
I´m getting trouble working on the School Catalogue Project. I´m missing something and the properties are not working as they should?
Can anyone look at my code and help me, please?
The problem is about inheritance. I put comments on the code to guide through it.
School class works fine, but PrimarySchool e HighSchool classes don´t. I think the problem is when I use super()int() .
Your code (codebyte) on the forums seems to run just fine. The code in the workspace has some unfortunate typos that would need to be fixed up.
Main issue if you can't find it
Your method unfortunately reads __int__ instead of __init__ (missing i) so you never override the parent’s __init__ (that issue might be duplicated). There were a couple of other typos in there but the __init__ one is the sneakiest since it runs but just doesn’t do what you want.