Examveda

What will be the output of the following Python code?
re.escape('new**world')

A. 'new world'

B. 'new\\*\\*world'

C. '**'

D. 'new', '*', '*', 'world'

Answer: Option B


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

Join The Discussion

Related Questions on Regular Expressions in Python