#Write a program that reads a sequence of non-zero integers. First zero #value will terminate the input. The program finds sum and average of the #negative numbers. Example: Input: 2 -5 6 7 -8 -9 0 Output: sum is -22 and #average is -7.333333 count_neg=0 sum_neg=0 num=int(input("enter non-zero integer ")) while(num!=0): if(num<0): count_neg=count_neg+1 sum_neg=sum_neg+num num=int(input("enter non-zero integer ")) if(count_neg>0): print("there are", count_neg, "negative inputs") print("their sum is", sum_neg) print("their average", sum_neg/count_neg) else: print("no negative inputs")