1

To return the value of Frost_Corr if the if/elifs are not met simply do: def calc (TEMP_ZONE , Frost_Corr): if TEMP_ZONE =="Sub-tropical" and Frost_Corr=="Moderate frost risk": return "Low frost risk" elif TEMP_ZONE =="Sub-tropical" and Frost_Corr== "High frost risk": return "...


Only top voted, non community-wiki answers of a minimum length are eligible