Title Construct a program that creates a Stack Structure
Catalog Type SLCItem
Persistent ID https://adapt2.sis.pitt.edu/acos/pitt/jsparsons/jsparsons-python/ps?example-id=ps_python_stack
Platform Name jsParsons
Features
Description Construct a program that creates two functions in a Stack Structure. The first one is "push" function and the second one is "pop" function. Your pop function should also check if the current stack is empty. is_empty() is a predefined function.
Keywords classes, data structures, stack, stacks
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://adapt2.sis.pitt.edu/acos/pitt/jsparsons/jsparsons-python/ps?example-id=ps_python_stack&grp=demo&usr=demo&sid=-1&cid=-1
Protocol PITT
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview