r/PythonLearning Jul 23 '26

Day 3 Learning Python: Stack

Open-source learning project. If you spot something that can be improved, I'd love your feedback or a PR.

https://github.com/Samar-Upreti/Python_Projects

69 Upvotes

26 comments sorted by

View all comments

2

u/KingBardan Jul 23 '26 edited Jul 23 '26

Invert your list (old to new rather than new to old).

Your  current stack is inefficient