请求解答思路 非常感谢!

目前刚刚接触python暂时没有摸到门路 对这类程序设计暂时毫无头绪 请求指点一二

img

举个例子。第一题L:

current_weight = float(input('当前体重kg:'))
 
for i in range(1,11):
 
current_weight += 0.5
 
moon_weight = current_weight*16.5/100
 
print('第{:d}年,地球体重{:.2f}kg,月球体重{:.2f}kg'.format(
 
i,current_weight,moon_weight
 
))


第一题,在外面手打的,希望能采纳一下


weight=float(input("请输入你的体重"))
for i in range(1, 11):
    new_w=(weight+i*0.5)*0.165
    print(new_w)