Commit 52a47ca9 by BellCodeEditor

save project

parent e124d7c0
......@@ -3,7 +3,7 @@ def dc():
total = []
while True:
unit= input("请输入分数:")
unit= input("请输入:")
if unit== 'q':
break
else:
......@@ -16,6 +16,7 @@ def dc():
return total
v=dc()
#print(v)
def co(c):
count=0
for i in c:
......
import func
dat=func.dc()
score=func.co()
print(score)
\ No newline at end of file
score=func.co(dat)
print('你的总分为'str(score))
\ 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