0
Lower case letters and check the given string is palindrome or not
3 Antworten
+ 7
Or you can try to do it with no 'if' statement:
https://code.sololearn.com/cR4DVjNP4rXd/?ref=app
+ 2
@ Kuba, Nice!
+ 1
# condensed to 3 lines in an infinite loop, puts all to lowercase to ignore case issues.
while(True):
x = input("Enter Your Palindrome: ").lower()
print("It's a Palindrome!") if x == x[::-1] else print ("That's not a Palindrome silly monkey!")