GH avatar Bite 9. Palindromes

Write a function to determine if a word (or phrase) is a palindrome.

Then write a second function to receive a word (or phrase) list and determine which word is the longest palindrome.

See the template code / docstrings below for further requirements as well as the tests.

90 out of 91 users completed this Bite.
Will you be Pythonista #91 to crack this Bite?
It takes an average of ~50 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 4.71 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Login and get coding
We use Python 3.7