Please enable JavaScript to use CodeHS

CodeHS Glossary


Negative index General

An index that counts from the end of a list. `my_list[-1]` is always the last element.