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.
Match object and flags
What do we have here?
Report a typo
Write a program in Python 3
import re
template = r'... Jude'
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.