Question d’entretien chez VAST Data

Check if a string or a number is a palindrome (python)

Réponse à la question d'entretien

Utilisateur anonyme

21 mai 2024

return True if list(str(s)) == list(reversed(str(s))) else False