From 9f2fe06109bf1a36b821ff27280da05e3d6d5d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zofia=20B=C4=85czyk?= Date: Wed, 2 Dec 2020 19:46:14 +0100 Subject: [PATCH] atempt 1 --- TaskD00/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TaskD00/run b/TaskD00/run index 1d01295..988bd39 100644 --- a/TaskD00/run +++ b/TaskD00/run @@ -17,4 +17,4 @@ def fromNumber(m): for line in sys.stdin.readlines(): temp=re.sub(r'\d{4}', fromNumber ,line) - print(temp.strip()) + print(temp.strip('\n'))