#Write a function, weather , that has one parameter - num_days - number #of days. The function reads temperature for each day and rain/no rain #indicator for each day. (0 - NO RAIN, 1 - RAIN). The function returns the #number of days with WARM (75 and above Fahrenheit) temperature and NO #RAIN def weather(num_days): warm_no_rain=0 for i in range(num_days): temp=float(input("enter temperature ")) rain=int (input("1 - rain 0 - no rain ")) if(temp>=75 and rain==0): warm_no_rain=warm_no_rain+1 return warm_no_rain def main(): num_days=int(input("enter number of days ")) warm_no_rain = weather(num_days) if(warm_no_rain>0): print(warm_no_rain, "warm no rain days") else: print("no warm witout rain days") main()