python列表推导式简单应用 2020-01-152020-01-15 iamduPython b = [a for a in range(10)] print(b) 输出的结果[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]