A palindrome is when the word is spelled the same both forwards and backwards. You may use with credit.
Code: I made it but it was an assignment from my dad