Self and init function in python , why are they used and when ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Self and init function in python , why are they used and when ?

Why are they assigned to variables in class Can they be over ridden?

3rd Aug 2019, 2:25 PM
SUNDARAMAN IYER
SUNDARAMAN IYER - avatar
3 Answers
+ 4
thanks SUNDARAMAN IYER happy coding...
3rd Aug 2019, 4:27 PM
BroFar
BroFar - avatar
+ 1
Thank you guys it helped a lot Bro Far ops best link to understand
3rd Aug 2019, 3:48 PM
SUNDARAMAN IYER
SUNDARAMAN IYER - avatar