Question: PYTHON LANGUAGE When a list is assigned to a name and the name is assigned to another name then both names refer to the same

PYTHON LANGUAGE

When a list is assigned to a name and the name is assigned to another name then both names refer to the same data items (see example below). This type of assignment is called _______ assignment.

first = [1,2,3]

second = first

# in this example, both first and second point to the same sequence of [1,2,3].

reference

value

item-by-item copy

object-copy

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!