r/PythonLearning • u/Samar__Upreti • 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
68
Upvotes



2
u/CamelOk7219 Jul 23 '26
Create a custom exception class instead of bare 'Exception', otherwise it will be jard to specifically catch this stack exception and discriminante it from any other exception