单项选择题

A.[x for x in range(10)]
B.list(x for x in range(10))
C.for x in range(10):list.append(x)
D.A和B都对