def testMethod(var1, *abc) : print(var1) for val in abc: print(val) testMethod(10, 20, 30, 40, 50) print(""); # Lambda testLambda = lambda arg1, arg2 : arg2 - arg1; print(testLambda(150,250));
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more