Content deleted Content added
Line 61:
> ()
> {"arg1":1, "sample":2, "name":"cow", "hero":"kitty"}
f(1,2,name="cow",hero="kitty")
> (1, 2)
> {"name":"cow", "hero":"kitty"}
f(arg1=1,sample=2,name="cow", "kitty") -> SyntaxError "Non-keyword arg after keyword arg"
Line 73:
def g(a, b, c):
print a, b, c
mytuple = 1,2,3
mydict = {"a":"first", "b":"second", "c":"third"}
|