Commit e866c868 by BellCodeEditor

save project

parent 7075a50d
Showing with 11 additions and 2 deletions
a=0
for i in range(1,11):
a=a+i
print(a)
a=1
for i in range(1,11):
a=a*i
print(a)
......@@ -22,4 +22,5 @@ def sum(c):
for i in a:
b=i+b
return b
print(sum(a))
\ No newline at end of file
print("您一共消费"+str(sum(a))+"已自动扣款")
\ 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