📅  最后修改于: 2022-03-11 14:59:44.649000             🧑  作者: Mango
# construct a basic list using range() and list comprehensions
# syntax
# [ expression for item in list ]
digits = [x for x in range(10)]
print(digits)