Welcome to the Treehouse Community
Looking to learn something new?
many questions about multiplie superclasses!!
I am really confused, this video needs another video to clarify it, I have some questions to ask please help me to understand it because I feel lost :
- What is the need for *args parameter? kenneth did not use it. -I can see that Sneaky and Agile classes did not have any parent, so what is the need for super() function?
super() function lets us call a bit of code from the parent inside the children class if this definition is wrong, please correct it for me
John Lack-Wilson8,181 Points
Hi MoatazBellah, great questions!
All new classes that are created in Python are subclasses of the object class. Kenneth is using
super() to set any fields that are passed from the
Heres a decent read about what
**kwargs are. If you have any questions about it drop a comment and I'll try my best to explain. Failing that, Kenneth does explain all this in other videos. If you follow along with the Beginning Python track you'll come across it sooner or later.