Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Palindrome
#5
It always good to have common understanding of terms (supposedly Socrates has said "The beginning of wisdom is the definition of terms.").

Palindrome according to Wikipedia:

Quote:A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, racecar.
/.../
Sentence-length palindromes ignore capitalization, punctuation, and word boundaries.

So maybe it's a good idea to check whether code recognizes palindromes like "Madam, I'm Adam" and "Never odd or even"
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
Simple Palindrome - by Inkanus - Nov-24-2020, 08:26 PM
RE: Simple Palindrome - by bowlofred - Nov-24-2020, 11:22 PM
RE: Simple Palindrome - by Inkanus - Nov-25-2020, 01:48 PM
RE: Simple Palindrome - by sandeep_ganga - Nov-25-2020, 02:21 PM
RE: Simple Palindrome - by perfringo - Nov-25-2020, 04:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Palindrome in Python - result always false RavCOder 13 6,786 Oct-16-2019, 01:38 PM
Last Post: perfringo
  Palindrome mp3909 3 4,251 Oct-18-2017, 01:54 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020