#write a function even_odd that has one parameter - size of the input #function randomly generates size integers in range -5 to 5 and counts #and RETURNS the #number of evens and the number of odds #write main to test your function - you can randomly generate size between #10 and 100 import random #to generate random integer between min and max use #random.randint(min,max) def even_odd(size): even=0 odd=0 for i in range(size): num=random.randint(-5,5) print(num) if(num%2==0): even=even+1 #even+=1 else: odd=odd+1 #odd+=1 return even,odd def main(): size=random.randint(10,15) print("size is", size) even, odd = even_odd(size) print("evens", even, "odds", odd) main()