Objects and Methods | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Objects and Methods

Hello everyone Could you please let me know what does this mean? "" What type of object is a method? Function "" I cannot understand since we have seen all of them are different things!!!

23rd Sep 2020, 6:25 AM
Shahin Mehranfar
Shahin Mehranfar - avatar
2 Answers
+ 2
where did u find it?
23rd Sep 2020, 6:30 AM
Oma Falk
Oma Falk - avatar
0
def show(): print("show") print(type(show)) Returns type function.
23rd Sep 2020, 6:37 AM
Avinesh
Avinesh - avatar