Use duck typing and EAFP principles to test if something is an iterable by trying to run iter on the object.
Watch video How to determine if a Python 🐍 object is iterable 🔄 online without registration, duration hours minute second in high quality. This video was added by user ModernPython 13 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 517 once and liked it 26 people.