[Tutor] close, but no cigar

Jim Mooney cybervigilante at gmail.com
Mon Jul 22 20:27:35 CEST 2013


Okay, I'm getting there, but this should be translating A umlaut to an old
DOS box character, according to my ASCII table, but instead it's print
small 'u':

def main():
    zark = ''
    for x in "ÀÄÄÄ":
        print(unichr(ord(u'x')-3), end=' ')

result: u u u u

-- 
Jim

What the Nations of the World Fail to Realize, is That we are Living in a
Closed System:

In March 2013, researchers from the Stanford University Hopkins Marine
Station issued a report on Bluefin tuna caught off the California coast and
tested for radioactive cesium. The report found that Bluefin tuna were 100
per cent contaminated, that not one was cesium-free. The report did not
address such questions as whether cesium would continue to accumulate in
tuna or whether it was appearing in other fish species.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130722/ff10a9c7/attachment-0001.html>


More information about the Tutor mailing list