python实现如果对你有用的话,记得给我点个赞哦使用while循环,打印输出:12 -11 9 -8 6 -5 3 -2num=[12,-11,9,-8,6,-5,3,-2]i=0while i<len(num): print(num[i],end=' ') i+=1#法二:for i in range(12,2,-3): print(i,-(i-1),end=' ')#法三:a=12while a>=3: print(a,-(a-1),end=' ') a-=3