Skip to content

constantcb/30_days_of_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

30_days_of_python

Notes and code for the 30DaysOfPython challenge

21_Classes

Everything in python is an object with properties and methdos.

To create class the "class" keyword must be used, followed by the name of the class in CamelCase.

Inheritance

With inheritance the child class inherits methods and property of it's parent class or super class.

If the 'init()' is added to the child class, the constructor of the super class remains accessible trough the 'super()' as in 'super().init()'. The child class can ovveride inherited methods or define new ones.

About

Notes and code for the 30DaysOfPython challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages