9
What is the output of the following code?
nums = [1, 2, 3]
print(id(nums) == id(nums[:]))Medium
What is the output of the following code?
nums = [1, 2, 3]
print(id(nums) == id(nums[:]))Log in to join the discussion.