Examveda

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

A. ["hello"]

B. [ ]

C. hello

D. hello world

Answer: Option B


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

Join The Discussion

Related Questions on Regular Expressions in Python