Palindrome program in python languageWhat is a palindrome?A palindrome is a number or letter that remains the same even if the number and letters are inverted. For example:121, 11, 414, 1221, 74747 are the palindrome numbers. MOM, DAD, MADAM, REFER are the palindrome letters. JAVATPOINT, PROGRAM, JAVA are not the palindrome letters. Palindrome algorithm
Palindrome ProgramProgram 1: Palindrome string Output: PALINDROME ! Program 2: Palindrome string program Output: Enter a letter: javatpoint The letter is not a palindrome Enter a letter: MADAM The letter is a palindrome Program 3: Palindrome number program using while loop Output: Enter the value: 2551 This value is not a palindrome number! Enter the value: 1221 This value is a palindrome number! Next TopicProgram of Cumulative sum in python |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India