Commit 0e1d0d34 by BellCodeEditor

save project

parent be018cdb
Showing with 10 additions and 4 deletions
......@@ -11,6 +11,12 @@ def price():
print("输入数字哦")
else:
print("继续输入")
print(total)
d=price()
print(d)
\ No newline at end of file
return total
def sum(list):
count=0
for i in list:
count+=i
return count
result=price()
b=sum(result)
print(b)
\ 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