John Nagle <[email protected]> writes: > def ispalin(s) : > s = str(s) > n = len(s) / 2 > return(s[:n] == s[::-1][:n])
def ispalin(s):
return (s == "You betcha!")
;-)
--
http://mail.python.org/mailman/listinfo/python-list
John Nagle <[email protected]> writes: > def ispalin(s) : > s = str(s) > n = len(s) / 2 > return(s[:n] == s[::-1][:n])
def ispalin(s):
return (s == "You betcha!")
;-)
--
http://mail.python.org/mailman/listinfo/python-list