0

Can some help me to understand this class object?

https://code.sololearn.com/c01lI7g034WA/?ref=app I don't understand why there are y.x 's. What's the purpose of .x there? Why and how it changes type of y?

3rd Jan 2020, 4:51 PM
Baran Aldemir
Baran Aldemir - avatar
1 ответ
+ 1
Do you understand what those magic methods are for? it is important that you understand each of their purpose. It would be bit more difficult to explain if you're not clearly understanding what those magic methods are for. Kindly review the OOP basics in the lesson, it helps most of the time 👍
3rd Jan 2020, 5:07 PM
Ipang