while True:
try:
a = input().split()
a1 = int(a[0])+int(a[1])
print(a1)
except:
break
1. while 循环
2. input
3. split
4. int变为数据类型
while True:
try:
a = input().split()
a1 = int(a[0])+int(a[1])
print(a1)
except:
break
1. while 循环
2. input
3. split
4. int变为数据类型