@@ -27,8 +27,9 @@ func main() {
|
||||
break
|
||||
}
|
||||
|
||||
// You can also `continue` to the next loop
|
||||
for n := 0; n <= 9; n++ {
|
||||
// You can also `continue` to the next iteration of
|
||||
// the loop.
|
||||
for n := 0; n <= 5; n++ {
|
||||
if n%2 == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
0567bfd0e134cfd06f893c445dae72dd8d6064f6
|
||||
egSvQrHmW6
|
||||
33056d6b36f9894fb6359c9cf2ef8725bbdafa19
|
||||
KNLLSX4Io_
|
||||
|
||||
@@ -9,8 +9,6 @@ loop
|
||||
1
|
||||
3
|
||||
5
|
||||
7
|
||||
9
|
||||
|
||||
# We'll see some other `for` forms later when we look at
|
||||
# `range` statements, channels, and other data
|
||||
|
||||
Reference in New Issue
Block a user