Exemple #1
0
def test_isiterable():
    assert isiterable([1, 2, 3]) == True
    assert isiterable('abc') == True
    assert isiterable(5) == False
Exemple #2
0
def test_isiterable():
    assert isiterable([1, 2, 3]) is True
    assert isiterable("abc") is True
    assert isiterable(5) is False
Exemple #3
0
def test_isiterable():
    assert isiterable([1, 2, 3]) is True
    assert isiterable('abc') is True
    assert isiterable(5) is False