What do we have here?

Report a typo

Take a look at the piece of code. It contains a template. Finish the code by reading a string from the input, calling the match() function and printing the matching substring. If no match is found, print None.

Write a program in Python 3
import re

template = r'... Jude'
___

Create a free account to access the full topic