标签:返回 返回值 lis 实现 def code sort int pytho
实例:
```
# 返回偶数
def delete_even(x):
if x % 2 == 0:
return x
print (list(filter(delete_even,[1,3,5,6,8,9,10])))
# 返回奇数print(sorted([1,6,3,5,2]))
标签:返回 返回值 lis 实现 def code sort int pytho
原文地址:https://www.cnblogs.com/thloveyl/p/11415391.html