Drop links or images here to add them to the editor.

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.

This time both pieces of information have to appear inside one single sentence.

Your task

Assign a name and a favourite food to 2 separate variables with suitable names, and output both pieces of information as part of the same sentence. Make sure that you have spaces and punctuation in the correct places.

Use these values and this exact sentence, so that the output can be checked automatically:

Your program should output exactly this:

My name is Andy and my favourite food is fish and chips.

Everything is output by a single print, so this one line concatenates five pieces: three bits of fixed text and the contents of the two variables. The full stop at the end belongs to the last piece of text, and every space in the sentence has to be written inside one of the strings.

Help! My code doesn't work!

Make sure that you check for the following things:

  • You have typed the variable name exactly the same, capital letters included, every time.
  • There is a variable on the left of each assignment, and the data is on the right.
  • You have used a single = for assignment.
  • You have used the + symbol to concatenate (join).
  • The string text is surrounded by speech marks.
  • The + symbols and the variable names are not surrounded by speech marks.