high=[]
tour=[]
hei=100
for i in range(0,10):
if i == 0:
tour.append(hei)
else:
tour.append(2*hei)
hei /= 2
high.append(hei)
print('总高度:tour = {0}'.format(sum(tour)))
print('第10次的高度:height = {0}'.format(high[-1]))
第一次下落只会经历一次100m,之后由于反弹会导致路程翻倍