0

What on earth is __init__ in Python class?

I've been working on a bunch of classes and functions in Python and I have coming across the init method but honestly I don't know how it works and how to implement it. I am still finding it very hard to understand class and object, method, attribute

22nd Mar 2022, 5:21 AM
DN Josh
DN Josh - avatar
2 Respuestas
0
init means initialization. Class is blueprint. object is baked bread
22nd Mar 2022, 7:35 AM
Shadoff
Shadoff - avatar
22nd Mar 2022, 9:15 PM
Fu Foy
Fu Foy - avatar