From 533cb1485ec5effbd8392240b5a9fc67f0d0e5cc Mon Sep 17 00:00:00 2001 From: Kornelia Girejko Date: Wed, 27 Apr 2022 12:31:23 +0200 Subject: [PATCH] Zaktualizuj 'run.py' --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 4498fc3..f85bd56 100644 --- a/run.py +++ b/run.py @@ -22,7 +22,7 @@ def calculation(path_in, path_out): male_score = len([w for w in words if w in male]) female_score = len([w for w in words if w in female]) - if male_score > female_score: + if male_score + 1 > female_score: results.append('1') else: results.append('0')