Compréhension de la liste Python: moyen élégant de créer des listes

pow2 = [2 ** x for x in range(10)]
print(pow2)
SAMER SAEID