mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
415 B
14 lines
415 B
4 years ago
|
## Duplicate
|
||
|
|
||
|
Sometimes in life, and in learning, it's important to repeat yourself.
|
||
|
|
||
|
Let's use string placeholders to duplicate a string, so that we can make sure we
|
||
|
get our point across.
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Declare a variable `duplicate` that repeat the provided variable `sentence`,
|
||
|
separated by a `, ` and add an ` !` at the end.
|
||
|
|
||
|
> so if sentence would be `Hello there`, we expect `Hello there, Hello there !`.
|