Python palindrome checker function For practice purposes I implemented a function that checks for palindromes:
def palindrom(name):
    name_reversed = &quot;&quot;

    for buchstabe in name[::-1]:
        name_reversed += buchstabe

    return name.lower() == name_reversed.lower()


print(palindrom(&quot;Tom&quot;))
print(palindrom(&quot;Bob&quot;))

How may I improve this code, especially the for-loop?
Localisation
It's fine to localise your user-facing strings (e.g. print('Die Buchstaben in diesem Wort bilden ein Palindrom'), but it is not advisable to write the code itself in a language other than English. For better or worse, English is the de-facto language of programming. Thus, buchstabe would be better as letter.
For-loop
The loop is not necessary:
    name_reversed = name[::-1]

name is a string, which is itself a sequence of one-character strings. Applying a slice, as is done here, reverses the sequence but does not change the type: the output of the expression is still a string.