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