๐Ÿ“– Beginning Python Programming /
Module: List & Collection

Dictionary

๐Ÿ“– Beginning Python Programming / List & Collection / Dictionary

List of dictionaries

students = [
    {'name': 'Thomas', 'score': 65},
    {'name': 'Alan', 'score': 95},
    {'name': 'Jane', 'score': 85},
    {'name': 'Susan', 'score': 75},
    {'name': 'Chris', 'score': 45}
]