Pop?


#1

So i sort of understand the difference between delete, remove, and pop, but I don’t understand exactly what does pop do.

Can someone please explain me what does “return” mean in list (pop) or python in general, and what kind of scenario would require pop rather than delete or remove?


#2

functions return a result, add(3, 7) would return 11


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.