"""
------------------------------------------------------------------------
[program description]
------------------------------------------------------------------------
Author: Dhairya Solanki
ID: 170529600
Email: [email protected]
__updated__ = "2019-05-15"
------------------------------------------------------------------------
"""
from Stack_array import Stack
from Queue_array
...[Show More]
"""
------------------------------------------------------------------------
[program description]
------------------------------------------------------------------------
Author: Dhairya Solanki
ID: 170529600
Email: [email protected]
__updated__ = "2019-05-15"
------------------------------------------------------------------------
"""
from Stack_array import Stack
from Queue_array import Queue
from List_array import List
from Food import Food
s = Stack()
def array_to_stack(stack, source):
"""
-------------------------------------------------------
Pushes contents of source onto stack. At finish, source is empty.
Last value in source is at bottom of stack,
first value in source is on top of stack.
Use: array_to_stack(stack, source)
-------------------------------------------------------
Parameters:
stack - a Stack object (Stack)
source - a Python list (list)
Returns:
None
------------------------------------------------------
[Show Less]