Pregunta de entrevista de Cognizant

write a code for palindrome in python/java