Hacer listas con bucles en una línea Python

print([i for i in range(10)])
Inquisitive Ibex