+ 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.

26th Jul 2019, 3:15 AM
Roger taxo
Roger taxo - avatar
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)
26th Jul 2019, 4:00 AM
Faisal
Faisal - avatar
+ 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.
26th Jul 2019, 8:06 AM
David Carroll
David Carroll - avatar