mirror of https://github.com/01-edu/public.git
corrected
This commit is contained in:
parent
875846bbdf
commit
c0903b687f
|
@ -21,15 +21,11 @@ package main
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
res := []string{"student", "hello Iyan","bcdfgh", "wOrld", "","AAEO$o;jw"}
|
res := []string{"student", "hello Iyan","bcdfgh", "wOrld", "","AAEO$o;jw"}
|
||||||
|
|
||||||
for _, i := range res {
|
for _, i := range res {
|
||||||
fmt.Println(i)
|
fmt.Println(VowelIdx(i))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
And its output :
|
And its output :
|
||||||
|
|
||||||
|
@ -40,5 +36,6 @@ $ go run .
|
||||||
[]
|
[]
|
||||||
[1]
|
[1]
|
||||||
[]
|
[]
|
||||||
|
[0 1 2 3 5]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue