Drop hier links of afbeeldingen om ze aan de editor toe te voegen.

In a make task you use the skills you have learned to create a program from scratch. There is no starter code: you begin with an empty editor.

You are going to write a program called Time Reminder. It asks for the hour of the day as a number and answers with the message that fits.

Your task

Check the conditions in the order they are listed above: an if for the first rule, an elif for each of the rules that follow it, and an else for the last one. Do not reorder them and do not add conditions of your own, because the first condition that is true is the one that decides which message is printed.

Ask the question with its own print, exactly as written:

Enter a number between 0 and 23:

Your program prints that question, followed by exactly one message line, and the message’s wording has to match the list above exactly, capital letters and punctuation included. The question is part of the checked output too.

Comment your code as you go, so that it is clear what each branch is there for.

Example

Input:

5

Output:

Enter a number between 0 and 23:
too early to get up

Input:

13

Output:

Enter a number between 0 and 23:
Lunch time!

Input:

18

Output:

Enter a number between 0 and 23:
Tea Time
Help! My code doesn't work!

Make sure that you check for the following things:

  • Selection begins with if, has as many elif branches in the middle as you need, and ends with else.
  • There is a colon at the end of each if, elif and else line.
  • Every line inside a branch is indented, and all of them by the same amount. Never mix tabs and spaces in one file.
  • The if, elif and else lines themselves are not indented.
  • There is a condition after each if and each elif.
  • There is no condition after else.
  • You have used a double equals (==) in a condition that checks whether two pieces of data are the same. A single = stores data in a variable.
  • The input is wrapped in int(), or the number is compared as text.
  • Each message is spelled and capitalised exactly as it is written above.