Commit 4d2f36e4 by BellCodeEditor

save project

parent 449d7673
Showing with 8 additions and 2 deletions
...@@ -10,4 +10,10 @@ def new_input(): ...@@ -10,4 +10,10 @@ def new_input():
except: except:
print('去你奶奶的,卧槽') print('去你奶奶的,卧槽')
return(total) return(total)
print(new_input()) def sum(s):
\ No newline at end of file count=0
for i in s:
count+=i
return count
print(sum(new_input()))
\ 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