#1
#moths_in_house = True
#moths_in_house = False

#if moths_in_house:
    #print("Get the moths!")
#else:
    #print("No threats detected.")

#2
#moths_in_house = False
##mitch_is_home = True

#if moths_in_house and mitch_is_home:
    #print("Hoooman! Help me get the moths!")

#elif not moths_in_house:
      #print("No threats detected!")  

#else:
    #if moths_in_house:
        #print("Meooooooooooooow! Hissssss!")
    #if not moths_in_house:
        #print("Climb on Mitch.")
        #Another option is to include 2 concatenated elif and then the last a else.

#3
light_colour = "Red"
car_detected = False

if light_colour  == "Red" and car_detected == False:
    print("Do nothing.")

else: #light_colour  == "Red" and not car_detected == False
        print("Flash")

   # if not light_colour == "Red" and car_detected == False:
   # print("Do nothing")

   # if light_colour == "Amber" and car_detected == False:
   # print("Do nothing")