+ 2

What Are The Methods You Know To Copy An Object In Python?

31st Dec 2019, 10:27 AM
Bharathkannan R
Bharathkannan R - avatar
3 Antworten
+ 3
If you are talking about list copy methods, I have an example for it (works also for some other mutable iterables): https://code.sololearn.com/cvlGwbcjQXOO/?ref=app
31st Dec 2019, 12:47 PM
Seb TheS
Seb TheS - avatar
+ 3
But if you are talking about programmer defined copy methods then you might need to define own ways for it.
31st Dec 2019, 12:50 PM
Seb TheS
Seb TheS - avatar
31st Dec 2019, 1:37 PM
Seb TheS
Seb TheS - avatar