count1 = 0 for even_number in range(1, 20): if even_number % 2 == 0: count1 += 1 print(even_number) print(f"we have {count1} even numbers")