Write the template

Report a typo

You have a variable named template: set its value in such a way that it would match the predefined variable good_string entirely and not match the predefined variable bad_string.

Write a program in Python 3
import re

good_string = 'You learn Python 3?..'
bad_string = 'You learn Python 3?!.'
template = ''
___

Create a free account to access the full topic