What will be the output of the following code:
my_set = {1, 2, 3}
new_set = my_set.copy()
print(new_set)
new_set = my_set.copy()
print(new_set)
A. {1, 2, 3}
B. {1, 2, 3, 1, 2, 3}
C. {1, 1, 2, 2, 3, 3}
D. {2, 1, 3}
Answer: Option A

Join The Discussion