Python Functions Coding Exercise | SheCodes

Python Functions Exercise

Instructions
  • Create a function asking for the city where you are and the current temperature and display this message:
You are in Lisbon and it is currently 17ºC.
  • Call this function twice.
  • Bonus point: Display an error message if the user doesn’t enter a city or a temperature