Write a function named "filter_rows" that takes a string as a parameter representing the name of a CSV file with 5 columns in the format "<string>,<int>,<int>,<int>,<int>" and writes a file named "shelter.csv" containing the rows from the input file where the value in the second column is greater than 114
def filter_rows(filename):
with open(filename, 'r') as f, open("shelter.csv", 'w') as w:
for line in f:
words = line.strip().split(",")
if int(words[1]) > 114:
w.write(line)
Write a function named "filter_rows" that takes a string as a parameter representing the name of...