Answers for "python check if variable is iterable but not string"

1

python check if variable is iterable

from collections import Iterable

def iterable(obj):
    return isinstance(obj, Iterable)
Posted by: Guest on September-13-2020

Code answers related to "python check if variable is iterable but not string"

Python Answers by Framework

Browse Popular Code Answers by Language