zjfz-2019-s393639/regexp/Task301.py
Aleksander Misztal a4430c57ba Odpowiedzi regexp
2020-01-25 11:09:37 +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