[Tutor] How does it work?

Neo Vector neo_vector at yahoo.com
Mon Jan 3 15:52:26 CET 2011


Hi All,
Could you explain me how does it work, pls?
==============================
>>>r = ''
>>>for c in 'abcd':
            r = c + r
...
...
>>>r
'dcba'
==============================
Best Regards,
Neo Vector



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110103/41ec0a62/attachment.html>


More information about the Tutor mailing list