Partial Function Python W3schools Exercise