当前位置:   article > 正文

TypeError: argument of type ‘type‘ is not iterable 解决办法python_argument of type 'type' is not iterable

argument of type 'type' is not iterable

if 判断出现TypeError: argument of type ‘type‘ is not iterable


我的解答思路:
if判断条件中出现 ****“某个值” not in None****
所以不用in,用等于不等于等条件去做判断就好了 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/865196?site
推荐阅读
相关标签
  

闽ICP备14008679号