Commit 5a38d8b6 by BellCodeEditor

save project

parent c631c5a9
Showing with 11 additions and 6 deletions
def new_input(): '''def new_input():
total = [] total = []
while True: while True:
try: try:
...@@ -17,11 +17,16 @@ def jiage(a): ...@@ -17,11 +17,16 @@ def jiage(a):
for i in a: for i in a:
sum=sum+i sum=sum+i
return sum return sum
'''
def add(x,y):
b=new_input() z=x+y
count=jiage(b) return z
print(count) a1=int(input())
a2=int(input())
c=add(a1,a2)
#b=new_input()
#count=jiage(b)
print(c)
......
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