一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在第10次落地时,共经过多少米?第10次反弹多高? sn=100 hn=sn/2 for n in range(2,11): sn+=2*hn #第一次是100 ,以后每次都是2个半高 hn/=2 print(sn)