From e9fc3082f10f993f9ec1bf0c3ea2e0a8afff85dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zofia=20B=C4=85czyk?= Date: Sun, 22 Nov 2020 13:57:23 +0100 Subject: [PATCH] attempt 1 --- TaskB02/Makefile | 0 TaskB02/run | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 TaskB02/Makefile create mode 100644 TaskB02/run diff --git a/TaskB02/Makefile b/TaskB02/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskB02/run b/TaskB02/run new file mode 100644 index 0000000..829ecd6 --- /dev/null +++ b/TaskB02/run @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import sys +import re + +for line in sys.stdin: + if not re.search(r'^[P|p]ies | [P|p]ies | [P|p]ies$|^[P|p]ies$',line) == None: + print(line, end ='') + else: pass