def my_function(): print("This is my function") if __name__ == "__main__": print("It executes") my_function()