进阶 第二课:函数(第二节)
摘要:
def fun_max_min(*num): num_int = filter(lambda x: isinstance(x, int), num) a = sorted(num_int) return "maxinum is %d and mininum is %d" % (a[-1],a[0]) 阅读全文
posted @ 2016-06-10 10:55 慧命 阅读(701) 评论(0) 推荐(0) 编辑