Nguyễn Tân
New member
The output of the following two Python codes are the same.
A. True
B. False
Code:
p = re.compile('hello')
r = p.match('hello everyone')
print(r.group(0))
r = re.match('hello', 'hello everyone')
print(r.group(0))
B. False