Dictionary parameter passing two modes

Parameter passing time, form two kinds of reference dictionary format written.

It looks like the example

AA DEF (** kwargs): 
Print (kwargs)

# writing a first equation
AA (name = "Alex")
# key-value dictionary of the second writing plus **
aa (** { "name": "alex "})

Guess you like

Origin www.cnblogs.com/Young-shi/p/11277440.html