diff --git a/Nim-for-Python-Programmers.md b/Nim-for-Python-Programmers.md index fe84547..2283042 100644 --- a/Nim-for-Python-Programmers.md +++ b/Nim-for-Python-Programmers.md @@ -168,6 +168,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. +Also be aware that mylist[0..2] returns the first 3 elements (not 2), but cause a boundary error if there are less elements. #### List Comprehensions ```