Why do you have two parameters in your function?
The function is supposed to check whether or not a single string is palindromic.
You’re trying to perform actions on a second string, which doesn’t exist.
I would read the instructions again closely to make sure you understand how the tests expect you to check for a palindrome. Also, if you are having trouble then don’t try to optimize your code right now. Just focus on getting the function right first. Then you can go back and refactor to make it prettier if you like.