runtime
26 / 500
question 26 Operators & Expressions · medium

A temperature conversion gone wrong

A weather app converts Fahrenheit to Celsius: subtract 32, then multiply by 5 and divide by 9. For 212 °F it should print 100.0, but it prints something near 194. Fix the calculation.

Keepfahrenheit = 212 as the first line. Check runs your program again with other temperatures
PrintsCelsius: 100.0
Expected output1 line
  1. 1Celsius: 100.0

Loading your progress…

A temperature conversion gone wrong — Python practice · Runtime