Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

stack.pop()

stack = [[0,1], [4,2], [5,3], [8,4]]
print(stack.pop()[1])
#4
print(stack)
#[[0, 1], [4, 2], [5, 3]]
Source by www.collegenote.net #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+3 =