Nov-28-2019, 05:14 AM
i've seen both used. which name is more preferred in the python community, "opts" or "kwargs"?
1 2 3 4 5 6 |
def show_args( * args, * * kwargs): for arg in args: print (arg) for key,val in sorted (kwargs.items()): print ( repr (key), '=' , repr (val)) return |
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.