让我们比较一下:for path in filePaths : if(self.module!=organizer and self.module!=decoder): # some code with loops elif(self.module==decoder): # some code with loops和这个:if(self.module!=organizer and self.module!=decoder): for path in filePaths : # some code with loopselif(self.module==decoder): for path in filePaths : # some code with loops哪一个是最有效的,为什么?
添加回答
举报
0/150
提交
取消