Below is a short Python example:

def hello():
    print("Hello world")