diff --git a/guide/english/python/while-loop-statements/index.md b/guide/english/python/while-loop-statements/index.md index e914bd67e3..f5b49e3a72 100644 --- a/guide/english/python/while-loop-statements/index.md +++ b/guide/english/python/while-loop-statements/index.md @@ -12,8 +12,8 @@ The basic syntax is: ```python counter = 0 while counter < 10: - # Execute the block of code here as - # long as counter is less than 10 + # Execute the block of code here as long as counter is less than 10 + # To prevent an infinite loop, counter is incremented by 1 on each iteration counter += 1 ```