标签:python 笔记
__author__ = math (xyf): f(x) + f(y) (s): s[].upper() + s[:].lower() (xy): x * y (x): r = (math.sqrt(x)) r*r == x (s1s2): u1 = s1.upper() u2 = s2.upper() u1 < u2: -u1 > u2: : (lst): (): (xy): x * y (flst) lazy_prod (): fs = [] i (): (j): (): j*j g r = f(i) fs.append(r) fs (x): x * x time (f): (*args**kw): t1 = time.time() r = f(*args**kw) t2 = time.time() % (f.(t2 - t1)) r fn @(n): (xy: x*y(n+)) __name__ == : a = add(math.sqrt) m = (format_name[]) r = (prod[]) f = (is_sqr()) s = ([]cmp_ignore_case) c = calc_prod([]) f1f2f3 = count() = factorial()
标签:python 笔记
原文地址:http://yangji.blog.51cto.com/1155906/1850914