From 2d28b5271bde8486d0cba3af0c896e1d5bbf905c Mon Sep 17 00:00:00 2001 From: Kuba Kowalczyk Date: Tue, 14 May 2019 07:31:05 +0200 Subject: [PATCH] fix --- extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract.py b/extract.py index f1ee432..32d4389 100644 --- a/extract.py +++ b/extract.py @@ -15,7 +15,7 @@ with open("results.txt", "r", encoding='utf-8') as ins: if substitutions==0 and deletes==0 and inserts==0: corrects = corrects + 1 -srr = corrects / sum(wars) +srr = corrects / len(wars) print(srr) war_avg = sum(wars) / len(wars)