diff --git a/Nim-for-Python-Programmers.md b/Nim-for-Python-Programmers.md index bc019f5..a84434d 100644 --- a/Nim-for-Python-Programmers.md +++ b/Nim-for-Python-Programmers.md @@ -169,7 +169,7 @@ Use [Nim sequences](http://nim-lang.org/docs/tut1.html#advanced-types-sequences) Nim arrays and sequences can hold only items of the same type. #### List Comprehensions -``` +```Nim import future # required for the list comprehension syntactical sugar let x = @[1, 2, 3, 4, 5, 8, 8, 8, 10] # create a Nim sequence