📜  将生成器转换为列表 python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.468000             🧑  作者: Mango

代码示例2
g_to_list = list(g) # where g is a generator