Python for Engineers
Solve Problems by Coding Solutions - A Complete solution for python programming
Blog Pages
Blog
Online Compiler
NumPy
Distributions
Self Learning
IDE
Online Tools
About
To check a string is palidrome or not
k=raw_input('Enter a string: ')
if k==k[::-1]:
print 'String is palidrome'
else:
print 'String is not palidrome'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment