Study notes: palindrome check in Python

01 November 2026

Views: 7

[![View Full Gallery](https://i.postimg.cc/3Rbhqkz6/cta-1-gradient-pill.png)](https://example.com/source-article)
[View Full Gallery](https://example.com/source-article)

---

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.

[**View Full Gallery**](https://example.com/source-article)

Share