A poem file uses empty lines to separate its verses. How many empty lines are there?
Write count_blank_lines(path). Return how many lines in the file are completely empty.
count_blank_lines(path)
"\n"
0
Leave the make_file helper as it is.
make_file
1def make_file(path, text):2 with open(path, "w") as f:3 f.write(text)4 return path5 6 7def count_blank_lines(path):8 # your code here9 pass10