DeprecationWarning: Using or importing the ABCs from ‘collections’ instead of from ‘collections.abc’ is deprecated since Python 3.3, and in 3.10 it will stop working print(isinstance(num, collections.Iterable))
DeprecationWarning: Using or importing the ABCs from ‘collections‘ instead of from ‘collections.abc
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working print(isinstance(num, collections.Iterable))