Python - Structured Data Files
You have a CSV file with columns 'Name', 'Age', and 'City'. You want to read it and create a dictionary where keys are names and values are ages (as integers). Which code snippet correctly does this?
row['Name'] as key and converts row['Age'] to int for value.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions