(stack)
| 24 | |
| 25 | # Function to remove an item from stack. It decreases size by 1 |
| 26 | def pop(stack): |
| 27 | if isEmpty(stack): |
| 28 | return str(-maxsize - 1) # return minus infinite |
| 29 | |
| 30 | return stack.pop() |
| 31 | |
| 32 | |
| 33 | # Function to return the top from stack without removing it |
no test coverage detected