i get different answers based on run platform

linda postslot at gmail.com
Thu Jul 7 17:09:11 EDT 2011


I tried something = input('enter text:').rstrip('\n') as suggested but
the problem persists.  BTW, the intermediate print commands agree and
so are not an issue.  The disagreement is in IDLE correctly
identifying palindromes and Windows not.  I do suspect it may be a
trailing '\r' issue.  Is there an easy fix or shall I wait for the new
Python versions to be released?  Thanks for helping.



More information about the Python-list mailing list