Computer Science, asked by XxYatashixX, 2 months ago

OUTPUT Of Python C.ode

string=input("entrer a string=")
lenght=len(string)
mid=lenght/2
rev=-1
for a in range(lenght):
if string[a]==string[rev]:
a+=1
rev-=1
else:
print(string,"is not a pallendrome")
break
else:
print(string,"is a planedrom")

Answers

Answered by Anonymous
20

Answer:

Output of python C.ode is Given above in the attachment

python used - Anaconda Version

Attachments:
Answered by peehuthakur
0

Explanation:

Mark me as a brainliest plz

Attachments:
Similar questions