An if statement runs its indented lines when the condition is true. Its else block handles the remaining inputs.
def layer(rainy):
if rainy:
return "raincoat"
else:
return "jumper"
print(layer(False)) # jumperWith rainy set to False, the body after else supplies the result.
Complete the body of signal(door_open). An open door must return "wait". A closed door must return "go". Keep the supplied function header.