'''
program to take string and return true if it is a palindrome,false otherwise
'''
string ="rotator"
result=string[::-1]
if result == string:
print("true")
else:
print("false")
output:
true
For further actions, you may consider blocking this person and/or reporting abuse
Aditya Pratap Bhuyan -
Viraj Lakshitha Bandara -
Lewis Kerr -
Aditya Pratap Bhuyan -
Top comments (0)