Python - Structured Data Files
What will be the output of this code?
import csv
with open('test.csv', 'w', newline='') as f:
writer = csv.writer(f)
writer.writerow(['Name', 'Age'])
writer.writerow(['Alice', 30])
with open('test.csv', 'r') as f:
reader = csv.reader(f)
for row in reader:
print(row)