在列表a中存放1-100之间所有的奇数,可以有多种方法,以下哪种方法是错误的?( )
a=list(range(1,100,2))
a=range(1,101,2)
a=[]
i=1
while i<100:
a.append(i)
i+=2
for i in range(1,100,2):