Temperature Conversion Program - TypeError: cannot unpack non-iterable float object

I don’t know how to fix my program, please help.

def getDegree(degreeUnit):
    if degreeUnit == "C" or degreeUnit == "c":
        degreeCelsius = input("Please enter a temperature in degrees Celsius to convert into degrees Fahrenheit: ")
        if degreeCelsius.isnumeric:
            degreeCelsius = float(degreeCelsius)
        else:
            print("Please enter a floating point number for your temperature.")
            degreeCelsius = 0
        return degreeCelsius
    elif degreeUnit == "F" or degreeUnit == "f":
        degreeFahrenheit = input("Please enter a temperature in degrees Fahrenheit to convert into degrees Celsius: ")
        if degreeFahrenheit.isnumeric:
            degreeFahrenheit = float(degreeFahrenheit)
        else:
            print("Please enter a floating point number for your temperature.")
            degreeFahrenheit = 0
        return degreeFahrenheit
    elif degreeUnit != "C" or degreeUnit != "F":
        print("ERROR: Invalid Input")
        print("Please enter C if you would like to convert a Celsius temperature and F if you would like to convert a Fahrenheit temperature.")
        exit()
    

def convToCelsius(degreeFahrenheit):
    convertedCelsius = (degreeFahrenheit - 32) * 5/9
    return convertedCelsius


def convToFahrenheit(degreeCelsius):
    convertedFahrenheit = (degreeCelsius * 9/5) + 32
    return convertedFahrenheit

def main():
    degreeCelsius, degreeFahrenheit = getDegree("C")
    convertedCelsius = convToCelsius(degreeFahrenheit)
    convertedFahrenheit = convToFahrenheit(degreeCelsius)


main()

@LouRupp11 You have a problem in the main() function. The function getDegree() only returns one value.

(post deleted by author)

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).