Computer Science, asked by prathambillgates, 6 months ago

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 valeriy69
7

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

s = input("enter a string: ")

if list(s) == list(reversed(s)):

print("tis be a palindrome")

else:

print("tis not a palindrome")

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by ayushrai70
0

Answer:

a MCE MCs po love lay oblast's flux zee DLL

Similar questions