Python make value zero if item doesnt exist (if that makes sense)

前端 未结 0 1901
离开以前
离开以前 2021-02-07 10:32

I have the following code:

#maak term frequency matrix aan
tfm = [[\'\', \'test1.txt\', \'test2.txt\', \'test3.txt\', \'test4.txt\'],
      [unieke_woorden[2], wo         


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