Partial Function In Python Practice Question