SHARE
TWEET

function(2)

liza124911 Jul 22nd, 2019 (edited) 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def palindrom():
  2.                 a = input()
  3.                 if a[0:] == a[-1::-1]:
  4.                                 print(a, 'is palindrom')
  5.                                 return a
  6.                 else:
  7.                                 print(a, 'is not palindrom')
  8.                        
  9. for i in range(3):
  10.                 palindrom()
  11.                 #break
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top