a=input()
b=input()
c=int(a)+int(b)
print(c)
题目要求如下
为什么会RE错误
他要求输入的两个数是以空格隔开的。
a,b=input().split(' ')
print(int(a)+int(b))
import re
p = re.compile('hello')
m = p.match('hello world')
m.group() => 'hello'
或直接:word = re.findall('hello','hello world') => ['hello']