1# overriding default arguments 2 3def foo(a, b=3): 4 print(a, b) 5 6# override with positional 7foo(1, 333) 8 9# override with keyword 10foo(1, b=333) 11 12# override with keyword 13foo(a=2, b=333) 14 15def foo2(a=1, b=2): 16 print(a, b) 17 18# default and keyword 19foo2(b='two') 20