设一个数x,每次减少0.1x,共减少7次,用python怎么写?
收起
x = float(input()) for _ in range(7): x -= 0.1 * x print(x)
报告相同问题?