Write a program to input a string and check, if it is a palindrome string
using a string slice
Answers
Answered by
3
Answer:
hello,
its using python
Explanation:
#program to input a string and check, if it is a palindrome string
a=str(input("enter the string"))
b=a[::-1]
if a==b:
print("palindrome")
else:
print("not a palindrome")
hope it helps you
please mark brainliest
@ItzSnowySecret07
Similar questions