← Previous Next →

Temperatures

Created by Julien Palard

Instructions

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

Your fonctions should look like:

def fahrenheit_to_celsius(temp):
    ...

def celsius_to_fahrenheit(temp):
    ...

You'll find conversions in the Fahrenheit Wikipedia article.

Example

>>> celsius_to_fahrenheit(100)
212

Your Code

Login to check your code and save your progress.