Question: Question 2 ( 1 0 points ) : Purpose: To work with the concept of references a bit more carefully. Degree of Difficulty: Easy. If

Question 2(10 points):
Purpose: To work with the concept of references a bit more carefully.
Degree of Difficulty: Easy. If you understand references very well, this is not difficult.
For each of the 5 copy() functions in the file a3q2.py, do the following:
Determine if the function makes a copy of the list. Hint: some do not!
Determine if the function is suitable for use in selection_sort(). Hint: some are not!
Do not change the function selection_sort() except to make use of one of the versions of the copy()
function on line 11. Do not change the code for any of the copy() functions. You will only need one or two
lines of code to use the different functions, but exactly how many you need is part of the problem.

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!