Allowing multiple parameters in a function

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')

Tags: