Vidyalelo
Python · Q52

Regular Expressions in Python

Programming · Python · question 52

Q52

What will be the output of the following Python code? re.split('[a-c]', '0a3B6', re.I)

A.
Error
B.
['a', 'B']
C.
['0', '3B6']
Answer
D.
['a']

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board