Fácil10 pts
Palindrome Number
Traducción al español en progresoEl contenido detallado de esta lección aún se está traduciendo. Mientras tanto, se muestra en inglés.
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Note: Negative numbers are NOT palindromes. Example: 121 → true (reads same backward), -121 → false (negative), 10 → false (01 ≠ 10)
Entrada
A single integer.
Salida
'true' if palindrome, 'false' otherwise.
Ejemplo
121
Esperado
true
Loading editor…
Resultado
Sin salida aún. Ejecuta tu código para ver resultados.