diff --git a/TaskX04/Makefile b/TaskX04/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskX04/run b/TaskX04/run new file mode 100644 index 0000000..c11de40 --- /dev/null +++ b/TaskX04/run @@ -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)