Is there any way i can pass in only the values of a list to a dictionary and not the reference of the list?
*my_list = [1, 2, 3]
my_dict = {"list": my_list}
print(my_dict["list"])
my_list.pop()
print(my_dict["list"])*
currently the output is: [1, 2, 3] [1, 2]
i want it to be: [1, 2, 3] [1, 2, 3]