File: class/Workbook/Examples/Lecture5/matching1.py

def f1(a, b): print a, b            # normal args

def f2(a, *b): print a, b           # positional varargs

def f3(a, **b): print a, b          # keyword varargs

def f4(a, *b, **c): print a, b, c   # mixed modes



[Home page] Books Code Blog Python Author Train Find ©M.Lutz