Nguyễn Đôn Hào
New member
What will be the output of the following Python code?
A. Error
B. [”, ‘bai*’]
C. [”, ‘bai’]
D. [‘bai*’]
Code:
re.split('mum', 'mumbai*', 1)
B. [”, ‘bai*’]
C. [”, ‘bai’]
D. [‘bai*’]