On Wed, Oct 15, 2014 at 10:04 AM, giacomo boffi <pec...@pascolo.net> wrote: > Tim Chase <python.l...@tim.thechases.com> writes: > >> On 2014-10-12 22:16, Marko Rauhamaa wrote: >>> is equivalent with >>> >>> while ans.lower()[0] != 'y': >>> ans = input('Do you like python?') >> >> And still better improved with >> >> while ans[:1].lower() != 'y': >> ans = input('Do you like python?') > > yok is Turkish for an EMPHATIC NO > (or, at least, that's what I was led to think many years ago)
Corrupted core, are you ready to start the procedure? What do you think? Interpreting vague answer as: Yes! If your program misinterprets a non-English response to an English question, that's not critical. It just means you haven't implemented full i18n. :) ChrisA -- https://mail.python.org/mailman/listinfo/python-list