Examveda

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

A. No output

B. []

C. <_sre.SRE_Match object; span=(0, 5), match='hello'>

D. Error

Answer: Option A


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

Join The Discussion

Related Questions on Regular Expressions in Python