What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-22 10:30:41
Write a program, which takes an array of characters from users. Your task is to check either it is palindrome or not.
n = input("Enter the word and see if it is palindrome: ") #check palindrome if n == n[::-1]: print("This word is palindrome") else: print("This word is not palindrome") Add solution -
Other 2021-10-09 21:46:05
palindrome using recursion in c
/** * C program to check palindrome number using recursion */ #include <stdio.h> #include <math.h> /* Function declarations */ int reverse(int num); int isPalindrome(int num); int main() { int num; /* Input any number fr... Add solution