Commit 5c570644 by BellCodeEditor

save project

parent 5e8d597a
Showing with 3 additions and 2 deletions
...@@ -12,13 +12,13 @@ def new_input(): ...@@ -12,13 +12,13 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
result=new_input() #result=new_input()
#print(result) #print(result)
def count(name): def count(name):
sum=0 sum=0
for i in name: for i in name:
sum=sum+i sum=sum+i
return sum return sum
result1=count(result) #result1=count(result)
#print(result1) #print(result1)
\ 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