添加到上一个总变量

时间:2018-03-02 07:51:22

标签: python

file = file_name     totalx = shirt_mm + pant_mm + sale_mm + deposite_mm + coat_mm + sari_mm

#full stock info for showing in nother window
sub = withdraw_mm + buy_mm

saving = ['0']

full = totalx
full_money = full + totalx
left_over = full_money - sub

我正在尝试创建一个变量或列表,它将保留整数的前一个值,当函数被变量变量调用时,变量会将输入添加到前一个整数值。

0 个答案:

没有答案