DEV Community

Discussion on: Using Python Functions As Classes

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez

Yep, functions are objects and you can add methods to them. But why would you do that?

Collapse
 
abdurrahmaanj profile image
Abdur-Rahmaan Janhangeer

to learn more about py i guess

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez

Yeap, that's the coolest reason of all!!