r/PythonLearning • u/N0-T0night • Jun 30 '25
Check palindrome
Check whether word in reverse order is the same or not like : mom,racecar,madam
57
Upvotes
r/PythonLearning • u/N0-T0night • Jun 30 '25
Check whether word in reverse order is the same or not like : mom,racecar,madam
1
u/LeaderSevere5647 Jun 30 '25
Did you intend for it to be case sensitive?
Better to use f strings.
No need for the trailing “word” at the end, looks awkward.
Try to keep quotation marks more consistent.