# Ask the user whether the weather is rain or shine. # Save the answer in a variable called weather. # If it is raining, tell the user to wear a raincoat. # Otherwise, tell the user they do not need a raincoat. weather = input("What is the weather doing, rain or shine? ") if weather == "rain": print("You should wear a raincoat") else: print("You don't need a raincoat") print("The program has ended.")