You have a variable named template: set its value in such a way that it would match the predefined variable good_string entirely and would not match the predefined variable bad_string.
Escaping in regexps
Date template
Report a typo
Write a program in Python 3
import re
# birthday of Python 3
good_string = '03.12.2008'
bad_string = '03-12-2008'
template = ''
___
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.