Browse Source

docs: Remove piscine from imports

pull/1305/head
estlop 2 years ago
parent
commit
813036aabd
  1. 34
      subjects/evenlength/README.md

34
subjects/evenlength/README.md

@ -0,0 +1,34 @@
## evenlength
### Instructions
Write a function that receives a slice of strings and returns a new slice with the strings in which the length is even.
### Expected function
```go
func EvenLength(strings []string) []string {
}
```
### Usage
Here is a possible program to test your function:
```go
package main
import (
"fmt"
)
func main() {
l := EvenLength([]string{"Hi", "Hola", "Ola", "Ciao", "Salut", "Hallo"})
fmt.Println(l)
}
```
And its output:
```console
$ go run .
[Hi Hola Ciao]
```
Loading…
Cancel
Save