Match even numbers

Report a typo

Write a regexp that will match any (positive or negative) even number, for example, -4, 1000, -20, etc. Mind that 0 is an even number, too.

Write a program in Python 3
import re


# put your regex in the variable template
template = ""
___

Create a free account to access the full topic