feat: stack test
This commit is contained in:
9
stack_test.py
Normal file
9
stack_test.py
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
if __name__ == '__main__':
|
||||
stack = [1, 2]
|
||||
print(stack)
|
||||
stack.append(3)
|
||||
print(stack)
|
||||
print(stack.pop())
|
||||
print(stack)
|
||||
Reference in New Issue
Block a user