Commit ee8e8730 by BellCodeEditor

save project

parent f366388d
Showing with 6 additions and 4 deletions
......@@ -18,9 +18,11 @@ def a():
#如果程序不报错
print(total)
return total
def d(xyz)
def d(xyz):
e=0
for i in xyz:
e=e+i
return e
c=a()
print(c)
\ No newline at end of file
f=d(c)
print('一共消费'+str(f)+'元')
\ 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