DeTechn Blog

使用Python内置的filter()方法来过滤?

list(filter(lambda x: x % 2 == 0, range(10)))

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »