+ 11
Do anyone print a palindrome in list using a.reverse() function??
4 Réponses
+ 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?