Solution-1: for i in range(5,30,5): print(i) Solution-2: for i in range (1,26): if (i % 5 == 0): print (i)