+ 11
Do anyone print a palindrome in list using a.reverse() function??
4 Answers
+ 1
x = ["a", "n", "n", "a"]
y = x[:]
x.reverse()
print("Is palindrome?", x==y)
+ 6
Diego your answer is not correct.
+ 6
Hum correct
0
Swati Nanda Gupta What about now?