Commit c4279f94 by BellCodeEditor

save project

parent 279eb3b6
def new_input():
total = []
while True:
unit = input("请输入:")
unit = input("请输入(退出请按q):")
if unit == 'q':
break
else:
......
......@@ -4,4 +4,4 @@ import func
data = func.new_input()
score = func.sum(data)
print("总分是:"+str(score))
\ No newline at end of file
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