Просмотр исходного кода

Fix broken link

Fixes #56

Thanks https://github.com/LenKiMo
Swaroop C H 9 лет назад
Родитель
Сommit
7d7c2a40a4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      control_flow.md

+ 1 - 1
control_flow.md

@@ -96,7 +96,7 @@ Note that `range()` generates only one number at a time, if you want the full li
 
 The `for` loop then iterates over this range - `for i in range(1,5)` is equivalent to `for i in [1, 2, 3, 4]` which is like assigning each number (or object) in the sequence to i, one at a time, and then executing the block of statements for each value of `i`.  In this case, we just print the value in the block of statements.
 
-Remember that the `else` part is optional. When included, it is always executed once after the `for` loop is over unless a <<the_break_statement,break>> statement is encountered.
+Remember that the `else` part is optional. When included, it is always executed once after the `for` loop is over unless a [break](#break-statement) statement is encountered.
 
 Remember that the `for..in` loop works for any sequence. Here, we have a list of numbers generated by the built-in `range` function, but in general we can use any kind of sequence of any kind of objects! We will explore this idea in detail in later chapters.