Allowing multiple parameters in a function
Submitted by Des on Thu, 08/23/2012 - 15:40
You can allow a function to take many parameters by adding the * before the argument>
def printMany(*param): print param
Works like this
printMany('this','is','a','string')
('this', 'is', 'a', 'string')