python in range reversed list code example Example 1: python get reversed list list.reverse() Example 2: reversed(range >>> type(range(3)) <class 'range'>