10 lines
178 B
Python
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
|