TypeError: 'int' object is not iterable

前端 未结 4 424
[愿得一人]
[愿得一人] 2021-01-29 16:21

I am trying to have a program look inside multiple lists to see if there are multiple integers in those lists. I received an answer on a previous question I asked to accomplish

4条回答
  •  野的像风
    2021-01-29 16:45

    all_num_in_any_list extacts elements from lists, which in this case are all integers; then, it passes each integer to all_num_in_list, which is expecting a list instead.

提交回复
热议问题