Đăng Khánh
New member
What will be the output of the following Python code?
A. ‘It will rain today’
B. (‘It will rain today’)
C. [‘It will rain today’]
D. [‘It’, ‘will’, ‘rain’, ‘today’]
Code:
w = re.compile('[A-Za-z]+')
w.findall('It will rain today')
B. (‘It will rain today’)
C. [‘It will rain today’]
D. [‘It’, ‘will’, ‘rain’, ‘today’]