fork download
  1. # Converts Fahrenheit to Celsius
  2. temp = float(input("Fahrenheit temperature: "))
  3. print temp
  4. print("Celsius temperature: ", (temp - 32.0) * 5.0 / 9.0)
Runtime error #stdin #stdout 0.02s 5852KB
stdin
50
stdout
Standard output is empty