Friday, April 12, 2013

string argument expansion

>>> def variadac(*a): print a
>>> variadac(*"abc")
('a', 'b', 'c')

Just a specific example of strings being useful in all the same ways as lists/tuples.

1 comment:

  1. Play Station Store voucher codes contain twelve digits. Expecting you have a ten-digit markdown training reins, bearing that no one genuinely minds in any case, see How to recuperate a Discount Code.