Write a program that reads a string and check whether it is a palindrome string or not without any
string slice. (python programming)
Answers
Answered by
7
s = input("enter a string: ")
if list(s) == list(reversed(s)):
print("tis be a palindrome")
else:
print("tis not a palindrome")
Answered by
0
Answer:
a MCE MCs po love lay oblast's flux zee DLL
Similar questions