Vidyalelo
Python · Q40

Regular Expressions in Python

Programming · Python · question 40

Q40

What will be the output of the following Python function? re.findall("hello world", "hello", 1)

A.
["hello"]
B.
[ ]
Answer
C.
hello
D.
hello world

Answer: Option B

Solution

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