输出 1–100 之间 3的整数倍数,要求每行8个 i=1 count=0 while i<=100: if i%3==0: print(i,end=’\t’) count=count+1 if count%8==0: print() i=i+1