In the following excerpt from a program in the book I am following:
print "If I add %d, %d, and %d I get %d." % (
my_age, my_height, my_weight, my_age + my_height + my_weight)
is
% (
my_age, my_height, my_weight, my_age + my_height + my_weight)
the/a format string?
If not, then I still haven't "got" it, and I would be very grateful if someone
could define "format string" for me - preferably in words of one syllable,
because I seem to be being a bit thick about this. :-(
Lisi
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor