Commit 9edf830f by BellCodeEditor

save project

parent 71dd5088
Showing with 12 additions and 2 deletions
......@@ -13,4 +13,14 @@ def new_input():
total.append(unit)
return total
wx = new_input()
print(wx)
\ No newline at end of file
print(wx)
def sum(n):
count = 0
for i in n:
count+=1
return count
wx = new_input()
money = sum(wx)
print("价钱是"+str(money))
\ 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