# add a test for even number to the print for i in range(10): value = i + 1 if value % 2 == 0: print(value)