functions in python example