Commit 6f8fff04 by BellCodeEditor

save project

parent 8eb2fbb6
Showing with 142 additions and 3 deletions
......@@ -11,7 +11,147 @@ def new_input():
print("输入整数")
else:
total.append(unit)
print(total)
#print(total)
return total
def fuck(n):
a=0
for i in n:
a=a+i
return a
q=new_input()
print( q)
m=fuck(q)
print(m)
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