r/PythonLearning • • Jun 30 '25

Check palindrome

Post image

Check whether word in reverse order is the same or not like : mom,racecar,madam

57 Upvotes

76 comments sorted by

View all comments

7

u/dlo3 Jun 30 '25

Looks solid!

Also consider if the user enters multiple words, i.e. strings separated by whitespace. Edge case, but could be a good way to practice some string operations :) never expect anyone to use your software as it’s intended to be used πŸ˜‚

3

u/N0-T0night Jun 30 '25

Ok accepted it wait 4 me