def tupleVarArgs(arg1, arg2='defaultB', *theRest): print 'formal arg 1:', arg1 print 'formal arg 2:', arg1 for eachXtrArg in theRest: print 'another arg:', eachXtrArgtupleVarArgs('abc')tupleVarArgs(23, 4.56)tupleVarArgs('abc', 123, 'xyz', 456.789)
Name (required)
email (will not be published) (required)
Website