Question d’entretien chez Cisco

Write a function that checks if a string is a palindrome