Tworzenie list z pętlami w jednej linii Python

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