Partial Function In Python With Parameters