Re: [Tutor] Problem with multiple input

2009-07-29 Thread Peter Anderson
Alan, Thanks heaps for the quick feedback. I think you are right about multiple inputs on the one line. Looks elegant but is hard work. Regards, Peter -- *Peter Anderson* There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take

Re: [Tutor] Problem with multiple input

2009-07-28 Thread Alan Gauld
"pja" wrote One major problem is that the book is written for Python 2.x and I am using Python 3.1 (and don't want to switch back). Very few books/tutorials exist yet for v3. But you seem to be coping with the differences adequately. My tutorial for v3 is almost half-way complete, you might f

[Tutor] Problem with multiple input

2009-07-28 Thread pja
Hi! I am trying to teach myself Python (using John Zelle's book "Python Programming"). One major problem is that the book is written for Python 2.x and I am using Python 3.1 (and don't want to switch back). There is a sample script for calculating the sum and difference of two numbers: #