Python出现TypeError: 'NoneType' object is not iterable
举例说明:defcontain():score=4ifscoreinnum:returnTrue,score;num=[1,2,3,0]iscontain,score=contain()printiscontain,score结果:>>>Traceback(mostrecentcalllast):File"D:\ProgramFiles\python\chengxu\temp.py",line8,