Lại Phương Thanh
New member
What will be the output of the following Python code?
A. [‘Chrome’, ‘is’, ‘better’, ‘than’, ‘explorer’]
B. [‘Chrome’, ‘is’, ‘better’, ‘than explorer’]
C. (‘Chrome’, ‘is’, ‘better’, ‘than explorer’)
D. ‘Chrome is better’ ‘than explorer’
Code:
re.split(r'\s+', 'Chrome is better than explorer', maxspilt=3)
B. [‘Chrome’, ‘is’, ‘better’, ‘than explorer’]
C. (‘Chrome’, ‘is’, ‘better’, ‘than explorer’)
D. ‘Chrome is better’ ‘than explorer’