Posts by Andressa Salles • 71 points
1 post
-
6
votes2
answers112
viewsQ: When is an Slice data copied?
When I do so: a = [ 1, 2, 3] b = a[1:] b use the same list of a or it creates another list and copies the data that is pertinent? If you have many items it will slow down? Happens even if I don’t…