Updated Nim for Python Programmers (markdown)
This commit is contained in:
parent
d04062cdbe
commit
8035c1dfb6
|
@ -139,6 +139,12 @@ echo b[1]
|
|||
var c = ["hi", 1] # no mixed types please
|
||||
```
|
||||
|
||||
### Python lists
|
||||
|
||||
Use [Nim sequences](http://nim-lang.org/tut1.html#sequences)
|
||||
|
||||
Nim arrays and sequences can hold only items of the same type.
|
||||
|
||||
### Python sets
|
||||
|
||||
Python sets are not like [Nim set type](http://nim-lang.org/manual.html#set-type).
|
||||
|
|
Loading…
Reference in New Issue