how to pop all negative numbers from list with for loop without list comprehension in python

后端 未结 0 383
隐瞒了意图╮
隐瞒了意图╮ 2020-11-27 10:47

I\'m an getting error message saying "Traceback (most recent call last): File "main.py", line 10, in if list1[j] < 0: IndexError: list index out of range&

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