Python Functions Default Values Coding Exercise | SheCodes

Python Functions Default Values Exercise

Instructions
  • Create a new Google Colab
  • Create a function that has 3 parameters (a city temperature and humidity level) and display the following message:
The temperature in London is 7 degrees with a humidity of 40%
  • If the humidity isn’t provided, display the following message:
The temperature in New York is 10 degrees
  • Call this function twice. one time with humidity and one time without