Updated Nim for Python Programmers (markdown)

This commit is contained in:
nonylene 2017-07-17 14:04:33 +09:00
parent 1d7e7f64f3
commit 3146cb158e
1 changed files with 1 additions and 1 deletions

View File

@ -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