Przykład prostej funkcji, która przyjmuje parametry w Pythonie

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