Commit 6fdfbe2b by BellCodeEditor

save project

parent 668e5d63
def w(): def w():
a=[] a=[]
while True: while True:
aa=input("菜价") aa=input("请输入")
if aa == "q": if aa == "q":
break break
else: else:
a.append(aa) a.append(aa)
return a return a
count=0
s=w() s=w()
print(s) print(s)
for i in s: def www():
count=count+int(i) count=0
print(count) for i in s:
\ No newline at end of file count=count+int(i)
print(count)
www()
\ No newline at end of file
import ll
b=ll.w()
score=ll.www()
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