Python object oriented programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python object oriented programming

What is the object argument in the code below and why is it used? What does it points to? https://code.sololearn.com/cT4JQe8bhQCi/?ref=app

31st May 2018, 9:49 AM
Tushar Bagwe
Tushar Bagwe - avatar
5 Answers
+ 3
It is just a name to refer to the second argument that will be given to the function. In this particular example, anytime you do something + somethingElse, other will be rrplaced by somethingElse.
31st May 2018, 10:14 AM
cyk
cyk - avatar
+ 2
What do you mean by object argument?
31st May 2018, 10:08 AM
cyk
cyk - avatar
0
sry the “other” argument
31st May 2018, 10:09 AM
Tushar Bagwe
Tushar Bagwe - avatar
0
ohk ty
31st May 2018, 10:23 AM
Tushar Bagwe
Tushar Bagwe - avatar
0
Do you know a good site to understand this concept more clearly ?
31st May 2018, 10:24 AM
Tushar Bagwe
Tushar Bagwe - avatar