Computer Science, asked by 25singhjadoun, 21 days ago

A user wants to check whether a string is a palindrome or not? How would you solve the problem of that user using appropriate ADT?​

Answers

Answered by kiranpnambiar0179
2

Answer:

A=input("enter a string")

R=''

for i in range(len(a)-1,-1,-1):

R+=ap

[i]

if r==a:

print(s,"is a paliandrom")

else:

print(s,"is not a paliandrom")

Please mark me as the brainliest, thanks, and 5 ☆

Similar questions