Answer:
To copy an object in Python, you can try copy.copy () or copy.deepcopy() for the general case. You cannot copy all objects but most of them.
Previous Question | Next Question |
Tell me what is the difference between list and tuple? | Tell me what is pickling and unpickling? |