+ 1
Abbreviation of what pop isïŒ
I am not a English speaker. I wander what does pop stand for in python. Like del stand for delete.
2 Answers
+ 8
Pop isn't short for anything haha
It's a complete word on its own, and just means to "make a short, explosive sound" (think popcorn popping)
+ 6
Faisal You are correct that "pop," in this context is a word, not an abbreviation, and it is an action verb... However, I don't believe it's the verb definition you're referring to.
Rather, I believe it refers to "pop off" which Merriam Webster defines as:
1a:Â to die unexpectedly
b:Â to leave suddenly
This would be closer to the pop() function, where a list item is essentially "popped off" or removed from the list.