News

How to check whether an object is iterable in Python ?

This article describes the different methods that could be used to check whether a given object in Python is an iterable or not. It also briefly explains what an iterable and iterator is.
Want to leave a comment?