阅读背景:

如何生成所有数字均匀的数字列表?

来源:互联网 

I have a list of numbers generated using list comprehension but would like to have python examine the output and only print the results if every digit in the number is an even number (e.g. 266). If the number is even, for example 218 but every digit not divisible by 2 then it should not print. Could anyone please help?I have a list of numbers generated using list c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: