#每一项:1--3--7--15--31--63 #中间间隔:2--4--8---16--32 shou=0 for i in range(0,30): shou+=2**i print(shou,end=" ")