Great! Now the computer displays Good afternoon when hour isn't less than 12 but is less than 17.
Good afternoon
hour
12
17
The actual word should be elif.
elif