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.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation