Pergunta de entrevista da empresa Instructure

Write a function that returns true if a word is a palindrome, or false if it’s not.

Resposta da entrevista

Sigiloso

12 de jun. de 2016

def is_palindrome(word): return word == word[::-1]

1