Commit 5a97eafe by BellCodeEditor

auto save

parent 03b00e53
Showing with 8 additions and 1 deletions
...@@ -11,6 +11,12 @@ def new_input(): ...@@ -11,6 +11,12 @@ def new_input():
print('请输入整数') print('请输入整数')
else: else:
total.append(unit) total.append(unit)
return total
def count(unit)
sum=1
for i in unit:
sum=sum+1
money=new_input()
pay=count(money)
print(total) print(total)
new_input() new_input()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment