只表示了30000,前面10000就是不显示,为什么呢?
收起
你一个for循环是循环价格money赋值给price,说以最后price是最后一个数值, 应该建为: price=[] #price定义为列表
循环里边: 将 price=money 改为: price.append(money) 就可以了
报告相同问题?