285 B
285 B
title, tags
| title | tags |
|---|---|
| fahrenheit_to_celsius | math,beginner |
Converts Fahrenheit to Celsius.
- Follow the conversion formula
C = (F - 32) * 5/9.
def fahrenheit_to_celsius(degrees):
return ((degrees - 32) * 5/9)
fahrenheit_to_celsius(77) # 25.0