0
Q:

keyword arguments python

#in python, arguments can be used using keywords
#the format is:
def function(arg,kwarg='default'):
    return [arg,kwarg]
0

  def my_function(child3, child2, child1):
  print("The youngest child 
  is " + child3)


  my_function(child1 = "Emil", child2 = "Tobias", child3 = "Linus") 
0

New to Communities?

Join the community