I do not understand why putting the initial value of patriots_wins in and before the for loop would make such a difference.
Output was 0 which was wrong
# The nfl data is loaded into the nfl variable.
for item in nfl:
patriots_wins = 0
if item[2] == "New England Patriots":
patriots_wins = patriots_wins + 1
print(patriots_wins)
Correct answer
# The nfl data is loaded into the nfl variable.
patriots_wins = 0
for item in nfl:
if item[2] == "New England Patriots":
patriots_wins = patriots_wins + 1
print(patriots_wins)