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

In a modify task you take code that already works and adapt it so that it does something else. The editor starts you off with a program that stores two band members in variables and begins to join them into a sentence. That sentence is deliberately left unfinished.

Your task

Adapt the code so that it outputs all four members of the band in a single sentence:

The output must match exactly, including the spaces around each and:

Axl and Slash and Duff and Izzy

Watch the end of the sentence: the starter code stops after a dangling " and ", and the finished sentence must not end with one.

Help! My code doesn't work!

Make sure that you check for the following things:

  • print does not have a capital letter.
  • The string text is surrounded with speech marks.
  • The string (including the speech marks) is surrounded by brackets.
  • The variable goes on the left and the data on the right for assignment.
  • You have used a + between each string and variable that needs concatenating.