How to Create a Function in Python


In this example we will show how to create a function in Python.

Source Code

def my_function():
    print("Hello, Function!")

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments