184k views
2 votes
Look at the following assignment statements:

word1 = "skate"
word2 = "board"

What is the correct way to concatenate the strings?


newWord = word1 / word2
newWord = word1 + word2
newWord = word1 * word2
newWord = word1 = word2

2 Answers

4 votes

Answer:

newWord = word1 + word2

Step-by-step explanation:

User BellamyStudio
by
5.3k points
4 votes

The correct way to concatenate the strings is:

newWord = word1 + word2

User Nikita Ryanov
by
5.3k points