Today, We want to share with you palindrome in python.In this post we will show you Python Program to Check Whether a String is Palindromes or Not, hear for python without using string functions we will give you demo and example for implement.In this post, we will learn about Program In JavaScript with an example.
Python program to check if a string is palindrome or not
Example palindrome in python
user_string = "Jdk14341kDj" user_string = user_string.casefold() user_rev_string = reversed(user_string) if list(user_string) == list(user_rev_string): print("It is a confirm palindromes String") else: print("It is a confirm not palindromes String")
Final Results
It is a confirm palindromes String
I hope you get an idea about in Python: How to check a number is palindrome?.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.