fork download
  1. def fullname(firstname, **kwargs):
  2. return " ".join([firstname] + list(kwargs.values()))
  3.  
  4. print(fullname(firstname="Anderson")) # Anderson
  5. print(fullname(firstname="Anderson", middlename="Carlos", lastname="Woss")) # Anderson Carlos Woss
Success #stdin #stdout 0.02s 28384KB
stdin
Standard input is empty
stdout
Anderson
Anderson Woss Carlos