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