#Write a program that randomly generates the list of 10 integers between #-100 and 100. The program finds the sum and average of the even elements of #the list #write everything in main def main(): my_list=[1, 2, 3, 4, 5] sum_even=0 count_even=0 for i in range(len(my_list)): if(my_list[i]%2==0): sum_even=sum_even+my_list[i] count_even+=1 if(count_even>0): ave=sum_even/count_even print(ave, sum_even) else: print("no even numbers") main()