On Thu, Sep 24, 2009 at 10:15 PM, george fragos <fragos.geo...@gmail.com>wrote:
> print format % (item_width, 'Cantaloupes', price_width, 1.92) > print format % (item_width, 'Dried Apricots (16 gr)' price_width, 8) > Notice the line before (works) and after (doesn't work - as the interpreter pointed out), how do you separate items in a tuple? :-) Did not check the rest of it. a...@deadend:~/Desktop$ python test.py > File "test.py", line 18 > print format % (item_width, 'Dried Apricots (16 gr)' price_width, 8) > ^ > SyntaxError: invalid syntax > > I double checked my typing and I see no errors in it (I copied it from > the book exactly as it is)! Are there any...? What's the "invalid" > in my "syntax"? > > Thanx for the help! > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- There is more to life than increasing its speed. -- Mahatma Gandhi
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor