# construct a basic list using range() and list comprehensions # syntax # [ expression for item in list ] digits = [x for x in range(10)] print(digits)