Passing ints to a function

stayvoid stayvoid at gmail.com
Fri Jun 8 20:21:38 EDT 2012


> You want to unpack the list:
>> function(*a)  # like function(a[0], a[1], a[2], ...)

Awesome! I forgot about this.
Thanks.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /