How would I create a custom list class in python?

后端 未结 5 1392
一个人的身影
一个人的身影 2020-12-14 16:25

I would like to write a custom list class in Python (let\'s call it MyCollection) where I can eventually call:

for x in myCollectionInstance:
           


        
5条回答
提交回复
热议问题