Zaktualizuj 'run.py'

This commit is contained in:
Kornelia Girejko 2022-04-27 12:31:23 +02:00
parent 7b0d940907
commit 533cb1485e

2
run.py
View File

@ -22,7 +22,7 @@ def calculation(path_in, path_out):
male_score = len([w for w in words if w in male]) male_score = len([w for w in words if w in male])
female_score = len([w for w in words if w in female]) 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') results.append('1')
else: else:
results.append('0') results.append('0')