The program will again use the range function in a for loop. The first three integers printed will be 30, 60, and 90.
# 02Loops example_03 PrintIntegers.py for number in range(1,1001): if(number % 6 ==0 and number % 10 ==0): print number
Recall that % is the remainder operator (for example, 10%6 = 4).