Question: Answer in Python. The parameters in a functions parameter list match up with and get their values from the arguments in the argument list of
Answer in Python.
The parameters in a functions parameter list match up with and get their values from the arguments in the argument list of a function call in numerical order, not by parameter/argument name.
What does this print?
def myFunc2 (one, two, three):
print (one, two, three)
one = 1
two = 2
three = 3
print (one, two, three)
myFunc2 (two, three, one)
print (one, two, three)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
