Vidyalelo
Python · Q25

Regular Expressions in Python

Programming · Python · question 25

Q25

What will be the output of the following Python code? re.compile('hello', re.X)

A.
['h', 'e', 'l', 'l', 'o']
B.
re.compile('hello', re.VERBOSE)
Answer
C.
Error
D.
Junk value

Answer: Option B

Solution

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