Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Study notes: palindrome check in Python
- Task: check whether a string reads the same forwards and backwards.
- Solution: keep letters and digits, lower-case them and compare with the reversed copy.
Advertisement
Add Comment
Please, Sign In to add comment