Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #10
- def is_palindrome(f = ""):
- if f[0:] == f[::-1] :
- print("True")
- else:
- print("False")
- is_palindrome("racecar")
- is_palindrome("yummy")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement