To fix this issue A palindrome is a word, phrase, number or other sequence of units that can be read the same way in either direction. Write a function that determines whether the given word or number is a palindrome.
for l in reversed(str(word1)):
c+=l #reversed word
if (str(c).lower()==str(word1).lower()) and len(str(word1))!=0:
Why is the code not working as intended? Its intended to get input and then do true/false checks up to 3 times