Skip to content

Commit a03d6f5

Browse files
Update 02_Loops.md
Correct the description of a while statement in 02_Loops.md
1 parent c99a29a commit a03d6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/02_control_flow/02_Loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fun main(args: Array<String>) {
4848

4949
While and do-while constructs work similarly to most languages.
5050

51-
1. Performs the block while the condition is false
51+
1. Performs the block while the condition is true.
5252
2. Performs the block first, and then loops while evaluating the while condition.
5353

5454
### Iterators

0 commit comments

Comments
 (0)