> For the complete documentation index, see [llms.txt](https://rcc-1.gitbook.io/roblox-py/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rcc-1.gitbook.io/roblox-py/language/indexes-starting-at-0.md).

# Indexes Starting at 0

In Lua, indexes start at 1, but in Python, it starts at 0. The compiler follows Python's rule and all indexes start at `0` after compilation.

<pre class="language-lua"><code class="lang-lua"><strong>local myTable = {1,2,3}
</strong>print(myTable[1]) -- 1
</code></pre>

```python
myList = [1,2,3]
print(myList[1]) # 2
```
