Navneet Ghosh The range function define how many times your loop should iterate which is 3 as mentioned above, it will by default does nothing to your code except you commanded it to do so...
How about slicing "it" it[3:] then iterate over that, I.e
I have test ur logic and reached on a conclusion that u were printed iter value within the for loop which was iterating 3 time that is why u got abc.
IF YOU iterated range(6) instead of range(3,6), then you would got entirely string....
IF u r agree to my answer so, plz thumb up which will help others to view my answer.