Created
June 2, 2019 22:07
-
-
Save jjuliano/33ca892c4f97a1f837f9e82bd685bc28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
count := 2 | |
a := [3]string{"a", "b", "c"} | |
for x := 0; x < count; x++ { | |
for i := 0; i < len(a); i++ { | |
fmt.Println(a[i]) | |
} | |
} | |
/* | |
a | |
b | |
c | |
a | |
b | |
c | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment