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

Pubblicato il: 16 giugno 2019
sul canale di: 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


In questa pagina del sito puoi guardare il video online #6 How to find String PALINDROME using PYTHON | 1000 Python Programs | Vothla Coding della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Santhosh Kumar S 16 giugno 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 167 volte e gli è piaciuto 7 spettatori. Buona visione!