From b8c7704cbc46b3b746ec18744fdfa46a662ac9cc Mon Sep 17 00:00:00 2001 From: Roppon Picha Date: Thu, 8 Nov 2018 03:04:05 +0700 Subject: [PATCH] spelling corrections (#21236) --- guide/english/python/lists/list-comprehension/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/python/lists/list-comprehension/index.md b/guide/english/python/lists/list-comprehension/index.md index f721c16f81..1b7ff3d226 100644 --- a/guide/english/python/lists/list-comprehension/index.md +++ b/guide/english/python/lists/list-comprehension/index.md @@ -12,7 +12,7 @@ The first step in learning how to use list comprehension is to look at the tradi # Example list for demonstration some_list = [1, 2, 5, 7, 8, 10] -# Empty list that will be populate with a loop +# Empty list that will be populated with a loop even_list = [] for number in some_list: @@ -70,7 +70,7 @@ List comprehension adds an element from an existing list to a new list if some c ## Examples of List Comprehension with Conditionals -The flow of control in list comprehensions can be controlled using conditionals. For exmaple: +The flow of control in list comprehensions can be controlled using conditionals. For example: ```py only_even_list = [i for i in range(13) if i%2==0]