Answers for "If you do not know the number of arguments that will be passed into your function, there is a prefix you can add in the function definition, which prefix?"

0

If you do not know the number of arguments that will be passed into your function, there is a prefix you can add in the function definition, which prefix?

# if we do not know the number of agruments that will be passed in our funtion we use(*) 
def my_function(*kids):
  print("The youngest child is " + kids[2])
Posted by: Guest on June-04-2021

Code answers related to "If you do not know the number of arguments that will be passed into your function, there is a prefix you can add in the function definition, which prefix?"

Browse Popular Code Answers by Language