Skip to content

Commit b371e8f

Browse files
committed
Update - No. of simulations from N + 1 to N
1 parent 9aa3653 commit b371e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Week 6 - Python/Lab6/WorldCup/tournament.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def main():
3131
# Keep track of number of wins for each team
3232
counts = {}
3333

34-
for _ in range(N + 1):
34+
for _ in range(N):
3535
winner = simulate_tournament(teams)
3636

3737
if winner in counts:

0 commit comments

Comments
 (0)