Examveda

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']

D. ['a']

Answer: Option C


This Question Belongs to Python Program >> Regular Expressions In Python

Join The Discussion

Related Questions on Regular Expressions in Python