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
Get step-by-step solutions from verified subject matter experts
