21_11 commit
This commit is contained in:
parent
8b635114c3
commit
91453c1dd5
0
TaskX04/Makefile
Normal file
0
TaskX04/Makefile
Normal file
12
TaskX04/run
Normal file
12
TaskX04/run
Normal 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)
|
Loading…
Reference in New Issue
Block a user