Practice · 1 of 3
Parse a CSV Row
CHALLENGE
Difficulty: beginner+25 XP
Write parse_row(line) that takes one CSV line like name,age,city and returns a dict with keys name (str), age (int), city (str).
Press Submit to check your solution.
Back to lesson: Practice: CSV & Path Drills