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.
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:
Andyfish and chipsYour 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.
Make sure that you check for the following things:
= for assignment.+ symbol to concatenate (join).+ symbols and the variable names are not surrounded by speech marks.