Commit 1913550c by BellCodeEditor

save project

parent dc70412a
Showing with 27 additions and 0 deletions
def a():
price = [15,18,14,25]
a = 0
for i in price:
a = a + i
return a
b =
print(b)
\ No newline at end of file
def b(money):
count = 0
for i in money:
count = count +i
print(count)
return count
def yyzq():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
yyzq()
\ 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