quick question. In the pop explanation, it explained that when .pop() removes one value this value will be returned. So does it mean that the value still exists even if we remove it from our array?
if you do nothing with the returned result, the data is lost. However, if you do:
result = lst.pop()
you will have the returned value in
result variable. So now the value still exists.