bnds.net
当前位置:首页 >> python list isEmpty >>

python list isEmpty

写了个insert def insert(self,index,item): previous=None current=self.head count=0 temp=Node(item) if index>self.size(): print "out index" elif index==0: temp.setNext(current) self.head=temp else: while index: index-=1 previous=...

网站首页 | 网站地图
All rights reserved Powered by www.bnds.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com