are functions also objects in python?
Yes, python functions are full objects. They can have attributes and methods like objects. The functions can have data variables and even functions written inside of them.