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 the INSULT-O-MATIC 5000. It asks for a name and a number, and fires back one very mild insult. The insults below are the ones the machine has been loaded with, and they are all firmly on the silly side.

Your task

Ask the two questions with their own print, exactly as written, in this order:

Both questions are part of the checked output, so spelling, capital letters and punctuation count.

The output

The five insults are fixed, so that the output can be checked automatically. NAME stands for whatever the user typed as their name. The first line below belongs to number 1, the second to 2, and so on down to 5:

NAME, your socks never match and everybody knows it.
NAME, you clap when the plane lands.
NAME, you put pineapple on everything, even toast.
NAME, you wave back at people who were waving at someone behind you.
NAME, you laugh at your own jokes before you get to the end of them.

If the number is not one of 1, 2, 3, 4 or 5, the machine gives up and prints this line instead:

That is not a number between 1 and 5, NAME.

Every line ends with a full stop, and the name is followed by a comma in the five insults. Copy the wording exactly.

Example

Input:

Andy
1

Output:

What is your name?
Pick a number between 1 and 5:
Andy, your socks never match and everybody knows it.

Input:

Ravi Patel
3

Output:

What is your name?
Pick a number between 1 and 5:
Ravi Patel, you put pineapple on everything, even toast.

Input:

Priya
0

Output:

What is your name?
Pick a number between 1 and 5:
That is not a number between 1 and 5, Priya.
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 each condition. A single = stores data in a variable.
  • The number is wrapped in int(), or it is compared as text and no branch ever matches.
  • The name is not wrapped in int(): it stays a string.
  • The string text is surrounded with speech marks, and the variable names are not.
  • You have used a + between each string and variable that needs concatenating.
  • Every space in the output comes from inside a string, so check the spaces around the name.