range in reverse order python excluding 0 code example Example: reversed(range >>> type(range(3)) <class 'range'>