Remove another use of range (Python 2/3 difference)
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
c2ecdcf89b
commit
8fee8a34bd
|
@ -2092,7 +2092,8 @@ def show_final_results():
|
||||||
# Compute hits at "level x or higher"
|
# Compute hits at "level x or higher"
|
||||||
print("Hits@level+ =", end='')
|
print("Hits@level+ =", end='')
|
||||||
for i in possible_levels:
|
for i in possible_levels:
|
||||||
for j in range(i, 6):
|
for j in possible_levels:
|
||||||
|
if j >= i:
|
||||||
count_per_level_and_up[
|
count_per_level_and_up[
|
||||||
i] = count_per_level_and_up[i] + count_per_level[j]
|
i] = count_per_level_and_up[i] + count_per_level[j]
|
||||||
# Display hits at "level x or higher"
|
# Display hits at "level x or higher"
|
||||||
|
|
Loading…
Reference in New Issue