Ejemplo de una función simple que toma parámetros en Python

def hi(person):
    print "Hi there " + person + ", how are you?"
Charming Crane