Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pop

a = [20, 30, 50, 40, 12]
b = a.pop(2)
print(a); print(b)
# [20, 30, 40, 12]
# 50
 
PREVIOUS NEXT
Tagged: #python #pop
ADD COMMENT
Topic
Name
3+7 =