题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在 第10次落地时,共经过多少米?第10次反弹多高? There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence. The b
1.题目 一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在第10次落地时,共经过多少米?第10次反弹多高? Sn = 100.0Hn = Sn / 2for n in range(2,11):Sn += 2 * HnHn /= 2print('Total of road is %f' % Sn)print('The tenth is %f meter' % Hn)