From 17f633e5bad93d392faee1ac7f302025614232aa Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 8 Nov 2020 13:46:04 +0100 Subject: [PATCH] A02 v2 --- TaskA03/run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TaskA03/run.py b/TaskA03/run.py index c849d55..b1b9d54 100644 --- a/TaskA03/run.py +++ b/TaskA03/run.py @@ -2,7 +2,9 @@ import sys def is_date_in_line(line): + index = 0 + while index != -1: index = line.find(' r.', index+1) if index == -1: