Exemplo n.º 1
0
def test_last():
    assert last("ABCDE") == "E"
    assert last((3, 2, 1)) == 1
    assert isinstance(last({0: "zero", 1: "one"}), int)
Exemplo n.º 2
0
def test_last():
    assert last('ABCDE') == 'E'
    assert last((3, 2, 1)) == 1
    assert isinstance(last({0: 'zero', 1: 'one'}), int)
Exemplo n.º 3
0
def test_last():
    assert last('ABCDE') == 'E'
    assert last((3, 2, 1)) == 1
Exemplo n.º 4
0
def test_last():
    assert last('ABCDE') == 'E'
    assert last((3, 2, 1)) == 1