[EMAIL PROTECTED] wrote:

> let's assume you want to nicely print the content of a list except for
> one (or some) individual item. You could do it like this:

> t = ["foo", "skip me", 1, 2, 3]
> print("text: %s\nvalues: %i %i %i" % (t[0], t[2], t[3], t[4]))

or like this:

>>> "%s %.s %s" % ("first", "second", "third")
'first  third'

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to