Giang Phạm
New member
What will be the output of the following Python code?
A. []
B. [‘3’]
C. Error
D. [‘trees’]
Code:
a = re.compile('0-9')
a.findall('3 trees')
B. [‘3’]
C. Error
D. [‘trees’]