regex w domu odpowiednia zadanie po 439462 % 25
This commit is contained in:
parent
1b6cd39dd0
commit
9a98ab9751
5
regexp/Task312.py
Normal file
5
regexp/Task312.py
Normal file
@ -0,0 +1,5 @@
|
||||
import re
|
||||
|
||||
|
||||
def is_pin_code(string):
|
||||
return bool(re.fullmatch("\d{4}(?<!0000)", string))
|
Loading…
Reference in New Issue
Block a user