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 list of words or phrases and determine which item in the list is the longest palindrome.

Take a look at each function's docstring for further requirements as well as the tests.

Login and get coding
go back Intermediate level
Bitecoin 3X

539 out of 561 users completed this Bite.
Will you be Pythonista #540 to crack this Bite?
Resolution time: ~46 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.35 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.
We use Python 3.8