This commit is contained in:
Kuba Kowalczyk 2019-05-14 07:31:05 +02:00
parent a061359a3e
commit 2d28b5271b

View File

@ -15,7 +15,7 @@ with open("results.txt", "r", encoding='utf-8') as ins:
if substitutions==0 and deletes==0 and inserts==0: if substitutions==0 and deletes==0 and inserts==0:
corrects = corrects + 1 corrects = corrects + 1
srr = corrects / sum(wars) srr = corrects / len(wars)
print(srr) print(srr)
war_avg = sum(wars) / len(wars) war_avg = sum(wars) / len(wars)