An object in python is said to be an iterable if it obeys one of the following two rules:-
1. Object must consist of __getitem__ method
2. Object must consist of __iter__ method.
String objects generally consist of __getitem__ method, List and dictionary objects consist of __item__ method. integer objects do not have any one of the above two methods. So integer objects are not iterable.