>>> [*range(10, 0, -1)]
[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
Некоторые тайминги:
PS C:\Users\...> 1..10 | % { python -m timeit "[*range(10, 0, -1)]" }
500000 loops, best of 5: 457 nsec per loop
500000 loops, best of 5: 475 nsec per loop
500000 loops, best of 5: 453 nsec per loop
500000 loops, best of 5: 485 nsec per loop
500000 loops, best of 5: 463 nsec per loop
500000 loops, best of 5: 489 nsec per loop
500000 loops, best of 5: 481 nsec per loop
500000 loops, best of 5: 469 nsec per loop
500000 loops, best of 5: 484 nsec per loop
500000 loops, best of 5: 455 nsec per loop
PS C:\Users\...> 1..10 | % { python -m timeit "list(range(10, 0, -1))" }
500000 loops, best of 5: 604 nsec per loop
500000 loops, best of 5: 597 nsec per loop
500000 loops, best of 5: 578 nsec per loop
500000 loops, best of 5: 589 nsec per loop
500000 loops, best of 5: 576 nsec per loop
500000 loops, best of 5: 572 nsec per loop
500000 loops, best of 5: 581 nsec per loop
500000 loops, best of 5: 581 nsec per loop
500000 loops, best of 5: 595 nsec per loop
500000 loops, best of 5: 595 nsec per loop
PS C:\Users\...> 1..10 | % { python -m timeit "[i for i in range(10, 0, -1)]" }
200000 loops, best of 5: 909 nsec per loop
200000 loops, best of 5: 923 nsec per loop
500000 loops, best of 5: 883 nsec per loop
500000 loops, best of 5: 954 nsec per loop
500000 loops, best of 5: 910 nsec per loop
500000 loops, best of 5: 909 nsec per loop
200000 loops, best of 5: 941 nsec per loop
500000 loops, best of 5: 894 nsec per loop
500000 loops, best of 5: 882 nsec per loop
500000 loops, best of 5: 911 nsec per loop