1st November 2026

Study notes: palindrome check in Python

Task: check whether a string reads the same forwards and backwards, ignoring case and spaces.

Solution: keep letters and digits, lower-case them and compare with the reversed copy.