[lang-ref] ( get_last_character ) ( python )

def test_get_last_character():
    # text[-1]
    text = 'ABCDE'

    r = text[-1]

    assert r == 'E'