你的答案应该是正确的
money = 0.01 total = 0 for i in range(30): print(money) money *= 2 total += money print("穷人",total) print("富人300万")
你的答案没问题