cities with a for loop example/removed wrong directory
This commit is contained in:
parent
99534f58cd
commit
f97dde7b01
1 changed files with 0 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
||||||
package for_range
|
|
||||||
|
|
||||||
import "fmt"
|
|
||||||
|
|
||||||
func Demo1() {
|
|
||||||
cities := []string{"Ankara", "İstanbul", "İzmir"}
|
|
||||||
for i := 0; i < len(cities); i++ {
|
|
||||||
fmt.Println(cities[i])
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue