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

Publié le: 16 juin 2019
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne #6 How to find String PALINDROME using PYTHON | 1000 Python Programs | Vothla Coding durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Santhosh Kumar S 16 juin 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 167 fois et il a aimé 7 téléspectateurs. Bon visionnage!