Python - Structured Data Files
What will be the output of this code snippet?
import csv
from io import StringIO
csv_data = "name,age\nAlice,30\nBob,25"
file = StringIO(csv_data)
reader = csv.DictReader(file)
for row in reader:
print(row['name'], row['age'])