mirror of https://github.com/01-edu/public.git
add condition
This commit is contained in:
parent
1395d56768
commit
2f765363af
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
### Instructions
|
### 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
|
### Expected function
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue