python custom functions] code example Example: how to create a custom function in python def functionName(x): print(x)