Updated Nim for Python Programmers (markdown)
This commit is contained in:
parent
d81f7f1d48
commit
8e54f2bbd8
|
@ -151,6 +151,8 @@ var a = "hello"
|
||||||
echo a[0..1] # returns "he": ranges are inclusive! See the "Ranges" paragraph
|
echo a[0..1] # returns "he": ranges are inclusive! See the "Ranges" paragraph
|
||||||
```
|
```
|
||||||
|
|
||||||
|
A [very detailed comparison](https://scripter.co/notes/string-functions-nim-vs-python/)
|
||||||
|
|
||||||
### Python tuples
|
### Python tuples
|
||||||
|
|
||||||
Nim Tuples are close to Python nametuples, see [manual](http://nim-lang.org/docs/manual.html#types-tuples-and-object-types).
|
Nim Tuples are close to Python nametuples, see [manual](http://nim-lang.org/docs/manual.html#types-tuples-and-object-types).
|
||||||
|
|
Loading…
Reference in New Issue