[lang-ref] ( assign_multi_value ) ( python )

def test_assign_multi_value():
    (a, b, c) = [1, 2, 3]
    assert a == 1 and b == 2 and c == 3

    (a, b, c) = (1, 2, 3)
    assert a == 1 and b == 2 and c == 3

    [a, b, c] = (1, 2, 3)
    assert a == 1 and b == 2 and c == 3

    a, b, c  =  1, 2, 3
    assert a == 1 and b == 2 and c == 3