Computer Science, asked by BrainlyMaster, 1 year ago

programe for pallindromne plz....plz plzplz......fast really needed

Answers

Answered by Anonymous
1
#Program to check whether a string is a pallindrome or not
string=raw_input("Enter a String:")
string2=string.lower()
              #converting all characters into lowercase
if string2==string2[::-1]:  
             #comparing string with reverse of it 
   print string,"is a pallindrome"
else:
    print string,"is not a pallndrome"
Answered by sanidhi
0
Program to check whether a string is a pallindrome or not
string=raw_input("Enter a String:")
string2=string.lower()
              #converting all characters into lowercase
if string2==string2[::-1]:   
             #comparing string with reverse of it 
   print string,"is a pallindrome"
else:
    print string,"is not a pallndrome"
Similar questions