'what kind of error (or whatever it is) is this "<function 'nameOfFunction' at 0x0000011D203BE0>" in python?

I've only recently started with python so I'm not entirely certain what to do. I've tried renaming the function and the dictionary. Rearranged the formatting a buy but still nothing. And I don't know what to do and I feel so frustrated (to the point of wanting to stop programming altogether🤣). If anyone can help, please do.

Note: the bit that starts with 0x00000 in my question changes with every run.

def translate(word):
    translate = " "

    for letter in word:
        if letter.lower() in translations.keys():
            if letter.islower():
                translation += translations.get(letter)
            else:
                translation += translations.get(letter.lower()).capitalise()
         else:
             translation += letter
    return translate

print(translate (input("Enter a phrase: ")


Solution 1:[1]

Just like @juanpa-arrivillaga wrote. You just got the naming of your return variable wrong. So just use "translation". The correct code should look like this:

def translate(word):
    translation = " "
    for letter in word:
        if letter.lower() in translations.keys():
            if letter.islower():
                translation += translations.get(letter)
            else:
                translation += translations.get(letter.lower()).capitalise()
        else:
             translation += letter
    return translation

print(translate (input("Enter a phrase: ")))

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 crystalAhmet