[lang-ref] ( get_value_by_key ) ( python )

def test_get_value_by_key():
    # d[k]
    d = { 'A': 1, 'B': 2, 'C': 3 }

    assert d['A'] == 1