Dividing list of integers into alternating groups of even and odd sums

后端 未结 0 437
暖寄归人
暖寄归人 2021-01-25 00:52

Ok so lets pretend we have a list [1, 3, 5, 7, 9, 11, 13], I want to make a python program which will divide the list into groups alternating between sums of even or odd. (Even

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