From a3d75c8b767d4b853539bd5111b9a4c7dd6d3d4a Mon Sep 17 00:00:00 2001 From: Arc Date: Sat, 14 Oct 2023 09:50:47 -0400 Subject: [PATCH] Update 1-list-comprehensions.md Fix spelling error --- data/part-11/1-list-comprehensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-11/1-list-comprehensions.md b/data/part-11/1-list-comprehensions.md index fa3662fb2..13a68015d 100644 --- a/data/part-11/1-list-comprehensions.md +++ b/data/part-11/1-list-comprehensions.md @@ -38,7 +38,7 @@ numbers = [1, 2, 3, 6, 5, 4, 7] strings = [str(number) for number in numbers] ``` -The second line above contains many of the same elements as the more traditional iterative apporach, but the syntax is different. One way of generalising a list comprehension statement would be +The second line above contains many of the same elements as the more traditional iterative approach, but the syntax is different. One way of generalising a list comprehension statement would be `[ for in ]`