zjfz-2019-s402281/regexp/Task301.py
2020-01-12 13:28:13 +01:00

10 lines
178 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
def letter_and_two_digits(napis):
if re.search(r'[A-Z]\d{2}', napis):
return True
else:
return False