Match or not match?

Report a typo

Define the function matched with two arguments, template and string. If string matches template return True, otherwise return False.

Write a program in Python 3
import re


def matched(template, string):
...
___

Create a free account to access the full topic