比如我想要生成并输出数组a = ['list0','list1','list2','list3']该如何写代码呢?刚开始学python,请大神指教,谢谢。
a = list(map(lambda x : 'list' + str(x), range(1, 10))) print (a)