#write a program that first reads the number days to examine the weather #then for each day the program reads a temperature and the rain indicator #(1- rain, 0 - no rain) #the program counts the number of days with no rain and temperature 75 or above #and finds the average temperature for these days num=int(input("enter number of days ")) i=0 count_warm_no_rain=0 sum=0 while(i=75 and rain==0): count_warm_no_rain=count_warm_no_rain+1 sum=sum+temp i=i+1 if(count_warm_no_rain>0): ave=sum/count_warm_no_rain print("there are",count_warm_no_rain,"days with no rain and warm") print("average for these days is", ave) else: print("no warm days with no rain")