New course! Every coder should learn Generative AI!
Try a free lesson+ 5
How to check palindrome numbers using list slicing
We can also reverse the number using list slicing so I want to check palindrome numbers using list slicing how I can do this
2 Answers
+ 6
If reverse of string is equal to original string ,string[::-1]==string
0
Thanks! This info helps me too.