Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Mar 1, 2021
Embed
What would you like to do?
stack = Stack()
print(stack.is_empty())
for i in range(0, 10):
stack.push(i)
print(stack.size())
print(stack.items)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment