add solution for TaskC38
This commit is contained in:
parent
d58a672aa5
commit
f3d618b8be
9
TaskC38_TODO/solution.py
Normal file
9
TaskC38_TODO/solution.py
Normal file
@ -0,0 +1,9 @@
|
||||
import re
|
||||
import sys
|
||||
|
||||
for line in sys.stdin:
|
||||
match = re.match(r'^(ul\.|os\.|al\.)\s[A-ZĄĘÓĆŁŃŚŹŻ][a-ząęóćłńśźż]+\s([1-9]\d*)(\/[1-9]\d*|\sm\.\s[1-9]\d*)?$', line)
|
||||
if match:
|
||||
print(match.group(2))
|
||||
else:
|
||||
print("<NONE>")
|
Loading…
Reference in New Issue
Block a user