why can't % operator use a list?

S. Francis stgcri01 at univ-mlv.fr
Mon May 5 13:15:42 EDT 2003


> If would be nice  if the % operator could work on lists as well as tuples:

So ... would you find it nice with strings too?
Like:
'%s%s%s' %'foo' => 'foo'





More information about the Python-list mailing list