# Path: brew/utilities/temperature.py
# def celsius_to_fahrenheit(temp):
#     """
#     Convert degrees Celsius to degrees Fahrenheit
# 
#     :param float temp: The temperature in Celsius
#     :return: The temperature in Fahrenheit
#     :rtype: float
#     """
#     return (temp * 1.8) + 32.0
# 
# Path: brew/utilities/temperature.py
# def fahrenheit_to_celsius(temp):
#     """
#     Convert degrees Fahrenheit to degrees Celsius
# 
#     :param float temp: The temperature in Fahrenheit
#     :return: The temperature in Celsius
#     :rtype: float
#     """
#     return (temp - 32.0) / 1.8


import argparse
import sys
from brew.utilities.temperature import celsius_to_fahrenheit
from brew.utilities.temperature import fahrenheit_to_celsius
# -*- coding: utf-8 -*-



def get_temp_conversion(fahrenheit, celsius):
    """
    Convert temperature between fahrenheit and celsius
    """
    if fahrenheit:
        return round(fahrenheit_to_celsius(fahrenheit), 1)
    elif celsius:

# Path: brew/utilities/temperature.py
# def celsius_to_fahrenheit(temp):
#     """
#     Convert degrees Celsius to degrees Fahrenheit
# 
#     :param float temp: The temperature in Celsius
#     :return: The temperature in Fahrenheit
#     :rtype: float
#     """
#     return (temp * 1.8) + 32.0
# 
# Path: brew/utilities/temperature.py
# def fahrenheit_to_celsius(temp):
#     """
#     Convert degrees Fahrenheit to degrees Celsius
# 
#     :param float temp: The temperature in Fahrenheit
#     :return: The temperature in Celsius
#     :rtype: float
#     """
#     return (temp - 32.0) / 1.8


# Path: brew/cli/temp.py
import argparse
import sys
from brew.utilities.temperature import celsius_to_fahrenheit
from brew.utilities.temperature import fahrenheit_to_celsius

# -*- coding: utf-8 -*-



def get_temp_conversion(fahrenheit, celsius):
    """
    Convert temperature between fahrenheit and celsius
    """
    if fahrenheit:
        return round(fahrenheit_to_celsius(fahrenheit), 1)
    elif celsius:

        return round(celsius_to_fahrenheit(celsius), 1)