进阶 第二课:函数(第二节)
摘要: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
posted @ 2016-06-10 10:55
posted @ 2016-06-07 21:44
posted @ 2016-06-05 21:39
posted @ 2016-06-05 15:19
posted @ 2016-06-01 23:16