Function Python Tutorial

def fun(name, location, year=2006):
    print "%s/%s/%d" % (name, location, year)
fun(location="L.A.", year=2004, name="Caleb" )