Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Think about how most people are made with a couple eyes, a nose, mouth, and ears. That would be the "initial" or default characteristics of a regular old face. Kinda the same with classes, when you create a class, everything under the init method is just the most basic of a class. You can add more to it or take some away, but it starts out INITially with certain values. Like a nose or an eye. But... not every eye or ear is the same, this is where class customization comes in.
14th Dec 2020, 12:16 PM
Slick
Slick - avatar