python for 'int' object is not iterable