Created by Julien Palard

Write functions to convert from Fahrenheit to Celsius and vice-versa.

Your functions should look like:

def fahrenheit_to_celsius(temp):

def celsius_to_fahrenheit(temp):

You'll find conversions in the Fahrenheit Wikipedia article.


Here how your function could be used in an interactive Python interpreter:

>>> celsius_to_fahrenheit(100)

There's no corrections yet, hit the `Submit` button to send your code to the correction bot.

Keyboard shortcuts:

  • Ctrl-Enter: Send your code to the correction bot.
  • Escape: Get back to the instructions tab.

See solutions