for i in range(0, 10, 2):
if (i % 5 == 0):
Since all are even numbers (0,2,4,6,8) and we iterate through even numbers, when these numbers are divided by 5 the remainder will never be 0.The last element will not be included here i.e. 10
Hence, the only result we get is 0 in this case.
Hope this helps!