[lang-ref] ( get_nth_character ) ( python )

def test_get_nth_character():
    # text[n]
    text = 'ABCDE'

    r = text[2]

    assert r == 'C'