<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 3
Step1:  Answer
Step2:  4
Step3:  Answer
Step4:  5
Step5:  6
<ASSISTANT_TASK:>
Python Code:
import math
Explanation: 3: The math module
Instructions
Use the sqrt() function within the math module to assign the square root of 16.0 to a.
Use the ceil() function within the math module to assign the ceiling of 111.3 to b.
Use the floor() function within the math module to assign the floor of 89.9 to c.
End of explanation
a = math.sqrt(16.0)
b = math.ceil(111.3)
c = math.floor(89.9)
print(a, b, c)
Explanation: Answer
End of explanation
import math
print(math.pi)
Explanation: 4: Variables within modules
Instructions
Assign the square root of pi to a.
Assign the ceiling of pi to b.
Assign the floor of pi to c.
End of explanation
PI = math.pi
a = math.sqrt(PI)
b = math.ceil(PI)
c = math.floor(PI)
print(a, b, c)
Explanation: Answer
End of explanation
import csv
f = open("nfl.csv")
csvreader = csv.reader(f)
nfl = list(csvreader)
print(nfl)
Explanation: 5: The csv module
Instructions
Read in all of the data from "nfl.csv" into a list variable named nfl using the csv module.
Answer
End of explanation
import csv
f = open("nfl.csv")
reader = csv.reader(f)
data = list(reader)
patriots_wins = 0
for row in data:
    if row[2] == "New England Patriots":
        patriots_wins += 1
print(patriots_wins)
Explanation: 6: Counting how many times a team won
Instructions
Fill in the mission code to do the following:
Import and use the csv module to load data from our "nfl.csv" file.
Count how many games the "New England Patriots" won from 2009-2013. To do this, set a counter to 0, and increment by 1 whenever you see a row whose winner column is equal to "New England Patriots".
Assign the count to patriots_wins.
Answer
End of explanation
<END_TASK>