Removing list values not divisible by 4 in python

后端 未结 0 1650
甜味超标
甜味超标 2021-02-07 06:33

I have a list of numbers and am trying to remove all the values that are not divisible by 4. I have come up with this:

mylist = [3141, 341, 314, 311, 141, 41, 34,         


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