#6 How to find String PALINDROME using PYTHON | 1000 Python Programs | Vothla Coding

Published: 16 June 2019
on channel: Santhosh Kumar S
167
7

Please find the source Code Below:
METHOD #1

a = "abbba"
b = ''

for _ in a:
b = _ + b
print(b)

if a == b:
print('It is a Palindrome')
else:
print('It is not a Palindrome')

--------------------------------------------------------------------------------------------
METHOD #2

a = "ZaabbaaZ"

b = a[::-1]


if a == b:
print('It is a Palindrome')
else:
print('It is not a Palindrome')
--------------------------------------------------------------------------------------------

Please do Subscribe to my channel:
Click Here : https://goo.gl/TfKhfv

Stay Connected:
Instagram :   / imsanthoshkumars  
Twitter :   / msanthoshkumars  
Facebook :   / imsanthoshkumars  


#VothlaCoding #1000PythonPrograms #VothlaSanthosh


On this page of the site you can watch the video online #6 How to find String PALINDROME using PYTHON | 1000 Python Programs | Vothla Coding with a duration of hours minute second in good quality, which was uploaded by the user Santhosh Kumar S 16 June 2019, share the link with friends and acquaintances, this video has already been watched 167 times on youtube and it was liked by 7 viewers. Enjoy your viewing!