Function as Parameter in Python
A function can also be passed as an argument in function. The reason behind that a function can easily be given a new name and when passed into another function during function call , it can be collected into function formal parameters. It is because functions are first class objects in python just like integer, float, list, strings etc.