What is the syntax to call a function?

<function name>(<arguments passed to parameters>)
#examples

#function definition
def printString(str):
     "Prints whatever string is passed here"
     print(str)
     return

#calling function
printString("hello world")

#output
hello world
Advertisements