21_11 commit

This commit is contained in:
BohdanBakhlul 2019-11-21 17:01:23 +01:00
parent 8b635114c3
commit 91453c1dd5
2 changed files with 12 additions and 0 deletions

0
TaskX04/Makefile Normal file
View File

12
TaskX04/run Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/python3
import sys
import re
counter = 0
x = sys.stdin;
for line in x:
if(re.search(r"[0-9] [0-9]* [a-z]( [0.9])*", str(line))):
counter += 1
print(counter)