Introduction
Concatenation
Simple text functions
13. Text functions - practice
How to modify strings
Revision

Instruction

Very good! Let's do a one more exercise.

Exercise

For each slogan, print the following: 'X. Y', where X is the item name and Y is the text of the slogan.

Stuck? Here's a hint!

Remember about spaces and the full stop in the middle of the sentence. Don't add a full stop at the end, because each text already contains it.

Console

Code editor

Result

TableConsole