For a more specific condition, like if hour is greater than 12, but less than 17, we can code elif hour < 17: instead.
elif stands for else if. elif is used when there is a second condition tobe check when the condition of the if block was not met.
>>> hour = 14
if hour < 12:
... print("Morning")
elif hour < 17:
... print("Afternoon")
...
Afternoon