venture of iit bombay vjti alumni print str return calling function defining function only gives it namespecifies the parameters that are to be included in the function and structures the blocks of code once the basic structure of function is finalizedyou can execute it by calling it from another function or directly from the python prompt following is the example to call printme(function #!/usr/bin/python function definition is here def printmestr )"this prints passed string into this functionprint str return