Skip to main content
A language built-in type to support ranges. Example of range literal:
Accessing elements is possible using indexing (starts from 0):
Ranges do not support the + operator for concatenation.Similar to strings, ranges support slice operations:
Ranges are immutable, as in Python 3.