Generating a tuple containg only even numbers from another tuple (which i marked as question 43)

If i loop according to your method, (for i in tuple_name:) the for loop go out of the range of the tuple index.

So i do in this way, 

for i in range(0,len(tuple_name))


and it works as it keeps the loop within the range of the index of the tuple.