python中while和range區別?
python中range循環的用法 for i in range()括號中能跟3種形式: 1、range(10),等于[0,1,2,3,4,5,6,7,8,9] 2、range(1,9),等于[1,2,3,4,5,6,7,8] 3、range(1,9,2),等于[1,3,5,7]
上一篇互聯網加養老項目的好處
python中while和range區別?
python中range循環的用法 for i in range()括號中能跟3種形式: 1、range(10),等于[0,1,2,3,4,5,6,7,8,9] 2、range(1,9),等于[1,2,3,4,5,6,7,8] 3、range(1,9,2),等于[1,3,5,7]