For example, if I write only :
l = [1, 2, 3]
l[1:2]
Is the slice from the list saved in memory? Does it take any space in memory?
For example, if I write only :
l = [1, 2, 3]
l[1:2]
Is the slice from the list saved in memory? Does it take any space in memory?