import enhancedcontainers as ec stack = ec.Stack() stack.push('World!') stack.push('Hello') print(stack.pop()) print(stack.pop()) # Output: Hello World!
import enhancedcontainers as ec queue = ec.Queue() queue.enqueue('Hello') queue.enqueue('World!') print(queue.dequeue()) print(queue.dequeue()) # Output: Hello World!
import enhancedcontainers as ec elist = ec.EnhancedList() print(elist.append('Hello')) print(elist.append('World!')) # Output: Hello World!
import enhancedcontainers as ec edict = ec.EnhancedDict() edict.hello = "Hello" edict.world = "World!" print(edict.hello) print(edict.world) # Output: Hello World!
- Clone the repository
git clone https://github.com/sh-wayz/enhancedcontainers.git
- cd into the directory
cd enhancedcontainers
- Run setup.py
python3 setup.py build install
python3 -m pip install enhancedcontainers
- Fork the repository
- Make your changes
- Submit a pull request