#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 def main(): sum=0 count=0 num=int(input("enter non zero ")) while(num!=0): if(num<0): count+=1 sum+=num num=int(input("enter non zero ")) if(count>0): print(sum, sum/count) else: print("no negative numbers") main()