Skip to main content

4.12) Exercise 7: Solution


temperature_conversion_debugging_solution.py

  • Line 7: Temp_F instead of Tepm_F
  • Line 7: use brackets to prioritise the subtraction over the division
  • Line 8: Temp_C instead of temp_c
  • Line 9: print instead of pring (typo)
  • Line 10: insert quotation marks and comma before Temp_C