Python sprawdź, czy zmienna jest iteralna

from collections import Iterable

def iterable(obj):
    return isinstance(obj, Iterable)
2Bowls