Difference between revisions of "Python:Classes"
Jump to navigation
Jump to search
(Created page with "Create your own classes Classes should have") |
m |
||
Line 2: | Line 2: | ||
Classes should have | Classes should have | ||
+ | |||
+ | |||
+ | ;__init__(self) | ||
+ | :Constructor, automatically called when the object is instantiated. |
Revision as of 13:18, 15 March 2018
Create your own classes
Classes should have
- __init__(self)
- Constructor, automatically called when the object is instantiated.