def ask_age(): age_years = input("Enter your age: ") age_days = int(age_years) * 365 print("Your age in days is", age_days) def water_type(temp): '''returns 'solid' if the water is ice and 'liquid' otherwise''' if temp < 32: return "solid" else: return "liquid" def is_liquid(temp): '''returns whether water at the given temp is liquid''' return temp > 32 def what_to_wear(temp): '''print instructions on what to wear given the temperature''' print("Checking temperature...") if temp > 70: print("It's warm out!") print("Wear a t-shirt") else: print("Wear a sweater") print("The temperature is", temp)