"Boykie Mackay" <[EMAIL PROTECTED]> wrote > doesn't seem to be properly formatted.There should be a comma after > the > closing quotation marks,a closing bracket after the first variable > and a > % sign before the next i.e: > >> print "Your expected earnings for %s is %d", >> %(financeLogs['month']),% >> financeLogs['total']) > > Hope above works!
Nope, this is wrong. The OP had it correct. String formatting has a string followed by a % followed by a tuple of values. Did you actually try executing the line of code you posted? What happened? Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor