add condition

This commit is contained in:
Hamza elkhatri 2022-06-28 13:30:23 +01:00
parent 1395d56768
commit 2f765363af
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
### Instructions
Write a function that takes a string and a slice of strings, this function will return a new slice of a string with the given string prepended
Write a function that takes a string and a slice of strings, this function will return a new slice of string with the given string prepended
- If the given string is empty you only need to return the given slice
### Expected function