#write a program that reads 10 ints #program prints ints that are even and divisible by 3 #find the number of evens divisible by 3 among 10 inputs #their sum and average #counter controlled repetition - we know the number of times #loop will be executed i = 0 sum=0 counter=0 while(i<10): num=int(input("enter int ")) if(num%2 == 0 and num %3 ==0): sum=sum+num counter=counter+1 print(num) i=i+1 if(counter>0): print("sum", sum) print("counter", counter) print("ave", sum/counter) else: print("no evens div by 3")