how to set and call a function python code example Example: create function in python def myFunction(): print('I am running in a function!')