#K49562. Taco Palindrome Checker
Taco Palindrome Checker
Taco Palindrome Checker
Given an integer, determine whether it is a palindrome. A palindrome is a number that remains the same when its digits are reversed. Note that negative numbers are not considered palindromes.
For example, 121 is a palindrome while 10 is not. Your task is to write a program that reads an integer from standard input and outputs either True
or False
based on whether the number is a palindrome.
inputFormat
The input consists of a single integer read from standard input (stdin).
outputFormat
Output a single word, either 'True' or 'False', to standard output (stdout) depending on whether the input integer is a palindrome.## sample
121
True