def interval(start,stop=None,step=1):'Imitates range() for step >0'if stop is None:start,stop=0,startresult=[]i=startwhile i<stop:result.append(i)i += stepreturn result
慕侠2389804
繁星点点滴滴
繁花不似锦
相关分类