engineering recuitment IB JIO (Junior Intelligence Officer) Mock Test 2023 Programming With Python Data Structures Stack
Which of the following operation will be performed by pops function on stack "stackname" in the following code?
def pops(stackname):
return len(stackname)
1
Read top most element of the stack.
2
Pop element from the stack.
3
Push element on to the top of stack.
4
Returns the size of stack.