Commit 9edf830f by BellCodeEditor

save project

parent 71dd5088
Showing with 11 additions and 0 deletions
......@@ -14,3 +14,13 @@ def new_input():
return total
wx = new_input()
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