Update pop function (#5544)
* Updated Pop function Added underflow condition * Update Pop Function Added condition to check underflow of stack * Update stack.py * if not self.stack: raise StackUnderflowError * Add doctests * StackUnderflowError * ..., not .... * Update stack.py Co-authored-by: Christian Clauss <cclauss@me.com>
L
Limbad Yash committed
80a885c97563ffc3d93a0678bd7219945be1a166
Parent: b72a66b
Committed by GitHub <noreply@github.com>
on 10/23/2021, 1:18:09 PM