Python provides for ways we can Emulate the native data structures in our own defined Classes. In this post, I will show you one way you can emulate a list. A list is a mutable sequence that has items which are ordered by index.
In my post on operator overloading and dunder methods, I showed you a way a class can behave like a list. But we can extend that concept a little further by
@emeka_david