The elif statement runs its code block if the conditions before it were False and its condition, like hour < 17 is True.

Make sure to type hour < 17.