+1 vote
in Python by
How can an object be copied in Python?

1 Answer

0 votes
by

Not all objects can be copied in Python, but most can. We ca use the “=” operator to copy an obect to a variable.

ex: var=copy.copy(obj)

Related questions

0 votes
asked Feb 11, 2021 in Python by SakshiSharma
+1 vote
asked Jan 21, 2021 in C Plus Plus by SakshiSharma
...