摘要: 习题3.1 点击查看代码 earth=50.000 for i in range(10): earth+=0.5 moon=earth*0.165 print("在地球的体重为:{:.3f}kg,在月球上的体重为:{:.3f}kg.".format(earth,moon)) 习题3.2 点击查看代码 阅读全文
posted @ 2025-03-23 22:12 bolun123 阅读(11) 评论(0) 推荐(0)