def METHOD_NAME(degree, temp):
    if degree == "Fahrenheit":
        temp = temp * 9 / 5.0 + 32
        return temp
    if degree == "Kelvin":
        temp = temp + 273.15
        return temp
    else:
        return temp