Example 2.1 from Dive Into Python

    I've just started working through Dive Into Python, so I don't really have an opinion of the book yet. I did notice that Example 2.1 produces different output on my machine than from the example...

    The example says I should get:


    I get:


    It's interesting that this is exactly the reverse of what the book says I should get. I have no idea why, as I can't read Python yet, but there you go.

    Tags for this post: python diveintopython string order

posted at: 11:16 | path: /python/diveintopython | permanent link to this entry