Here is the question I am trying to answer:
Write code that accepts a list of strings as its parameter and indicates whether that list is a palindrome. A palindrome list is one that reads the same forward as backward. For example, the list ["alpha", "beta", "gamma", "delta", "gamma", "beta", "alpha"] is a palindrome.
def palindrome_checker(list):
if list == list.reverse():
print('Palindrome')
else:
print('Not Palindrome')
user_list = []
user_input = (input('Enter list of words'))
user_list = [user_input.split()]
palindrome_checker(user_list)
My code responds "Not Palindrome" no matter what. Can anyone tell me what I am missing?w