Using list append works only with print

前端 未结 0 1385
星月不相逢
星月不相逢 2021-02-02 00:30

Following code works,

train_text = []
for k, v in data.items():
    for i, j in v:
        print(i)
        train_text.append(i)
        train_text.append(j)


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题