WEBTo use this function, we need to call the function. Function Call. greet() Example: Python Function Call. def greet(): print('Hello World!') # call the function . greet() print('Outside function') Run Code. Output. Hello World! Outside function. In the above example, we have created a function named greet().