def f(a=2, **b): print(a,b) f(**{'a':3})
为什么这个打印3 {}而不是2 {'a': 3}?
3 {}
2 {'a': 3}
我能理解为什么它会打印3 {}出来,f(a=3)但我不明白这种情况下的输出。
f(a=3)
慕桂英4014372
青春有我
相关分类