Python program to check if a string is palindrome or not for example string "radar" is palindrome because the reverse of string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Python program to check if a string is palindrome or not for example string "radar" is palindrome because the reverse of string

Answer plz

13th Feb 2021, 11:06 AM
Suresh Suresh
Suresh Suresh - avatar
6 Answers
+ 2
You want someone to spoonfeed you the answer now ? Just use slicing str[::-1] to reverse the string and match it with original string . But if you aren't allowed to reverse string that way then just google "how to reverse string in python" , if after that you get stuck somewhere feel free to ask any doubt.
13th Feb 2021, 11:11 AM
Abhay
Abhay - avatar
+ 1
Your attempt?
13th Feb 2021, 11:07 AM
∆BH∆Y
∆BH∆Y - avatar
+ 1
After completing the course you will automatically make amazing codes IDK why you want the codes already made https://code.sololearn.com/cYwaJ8CFaL75/?ref=app
13th Feb 2021, 11:29 AM
∆BH∆Y
∆BH∆Y - avatar
0
Thanks abhay bro☺️
13th Feb 2021, 11:12 AM
Suresh Suresh
Suresh Suresh - avatar
0
Bro plz search for me plz bro
13th Feb 2021, 11:20 AM
Suresh Suresh
Suresh Suresh - avatar
22nd Feb 2021, 9:11 AM
Sonam Tashi