Writing a Loop to see if a number in a list is even or odd (python)

前端 未结 0 1795
北荒
北荒 2020-12-31 11:20

I am trying to write a loop that goes through a list of numbers and prints whether each number is even or odd. It seemed pretty simple, but it just infinitely prints odd. Wh

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