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.