Simple Python Stack & more advanced stack
- init
- push ( item ) - add item to top of the stack
- pop - remove last item off the stack
- peek - return last item on the stack
- empty - return True or False
- count - return number of items in the stack
- stack - return the stack object
- dump - clear the stack
- init
- push ( item ) - add item to top of the stack
- _ _ setitem _ _ - add item at any point
- pop - remove last item off the stack
- _ _ getitem _ _ - remove any item
- peek - return last item on the stack
- _ _ contains _ _ - check if any item is on the stack
- empty - return True or False
- count - return number of items in the stack
- _ _ len _ _ - return the amount of items on the stack
- stack - return the stack object
- dump - clear the stack
- _ _ iter _ _ - iterate over the stack
- _ _ init _ _
- _ _ call_ _
- push
- _ _ add_ _
- _ _ setitem _ _
- pop
- _ _ sub _ _
- _ _ del _ _
- _ _ getitem _ _
- peek
- _ _ contains _ _
- empty
- len
- _ _ len _ _
- stack
- _ _ repr _ _
- _ _ str _ _
- dump
- iter
- _ _ iter _ _
- reverse
- _ _ reversed _ _
- _ _ eq _ _
- _ _ lt _ _
- _ _ le _ _
- _ _ gt _ _
- _ _ ge _ _
- _ _ ne _ _