+ 1

Palindrome

who is can to give me program that check if world palindrome or not palindrome

26th Jun 2017, 10:16 PM
Thë Ghøül
Thë Ghøül - avatar
4 odpowiedzi
+ 3
You didn't specify a language. Here is a simple code to check palindrome in Python: word=input("Enter Word: ").lower() if word == word[::-1]: print(word + " is a palindrome") else: print(word + " is not a palindrome") Here are 2 more codes: This one tells you all palindromes in a sentence you enter: https://code.sololearn.com/c01zKIME5Jf6/?ref=app This one tells you if a word is a palindrome https://code.sololearn.com/c05fv2KJygw8/?ref=app
27th Jun 2017, 12:05 AM
LordHill
LordHill - avatar
27th Jun 2017, 1:32 AM
BenjiSolo
BenjiSolo - avatar
0
https://code.sololearn.com/cywHYr3xL8jg/#java
27th Jun 2017, 2:09 AM
Benjamin Keurian
Benjamin Keurian - avatar
0
Can you give me in C# ?
27th Jun 2017, 5:36 AM
Thë Ghøül
Thë Ghøül - avatar