A file "text.csv" contains the following:
Hello, World!
Welcome to Python.
How many lines would get printed by the following code?
import csv
with open("text.csv") as csvfile:
text = csv.reader(csvfile, delimiter = ",")
for line in text:
print(line)
1
2
5
31