# Title: Temperature conversion
# Heading: Python Program to Convert Celsius to Fahrenheit and Back
# Level: beginner
# Tags: celsius, fahrenheit, temperature, conversion
# About: Converts a temperature from Celsius to Fahrenheit and from Fahrenheit back to Celsius with the two standard formulas.

def celsius_to_fahrenheit(celsius):
    """The temperature in Fahrenheit for celsius degrees."""
    return celsius * 9 / 5 + 32


def fahrenheit_to_celsius(fahrenheit):
    """The temperature in Celsius for fahrenheit degrees."""
    return (fahrenheit - 32) * 5 / 9


print(f"37 C = {celsius_to_fahrenheit(37):.1f} F")
print(f"100 F = {fahrenheit_to_celsius(100):.1f} C")
