Пример простой функции, которая принимает параметры в Python
def hi(person):
print "Hi there " + person + ", how are you?"
Charming Crane
def hi(person):
print "Hi there " + person + ", how are you?"