Question: (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

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!