Posted By

maturanti19 on 05/22/19


Tagged

python palindrom


Versions (?)

Palindrom


 / Published in: Python
 

Palindrom python

  1. u=str(input('Zadaj ciselny retazec: '))
  2.  
  3. if u==u[::-1]:
  4. print('toto je palindrom')
  5. else:
  6. print('toto nie je palindrom')

Report this snippet  

You need to login to post a comment.