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