Commit d58b1f40 by BellCodeEditor

save project

parent 07b641ce
......@@ -13,12 +13,12 @@ def new_input():
total.append(unit)
return total
result = new_input()
print(result)
#print(result)
def count(name):
sum = 0
for i in name:
sum = sum+i
return sum
result1 = count(result)
print(total)
\ No newline at end of file
#result1 = count(result)
#print(total)
\ No newline at end of file
import func
total = func.new_input()
score = func.count(total)
print("总分是:"+str(score))
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