Zaktualizuj 'run.py'
This commit is contained in:
parent
7b0d940907
commit
533cb1485e
2
run.py
2
run.py
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user