Hi i have got a list of items in strings in a list. I want see if these words in strings are palindromes using a function.
So far i have got this code,

```
input_list = ['taco cat', 'bob', 'davey']
def palindromes(x):
    for x in input_list:
        if x == x[::-1]
            return True
        else:
            return False 
output = [palindromes(x)]
print(output)

```

the result should be in a list [ True, True, False ]
what am i doing wrong here plz?