05 2018 档案
摘要:下载页面 http://www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win64 windows 64位 http://www.google.cn/chrome/browser/thankyou.html?
阅读全文
摘要:1、凡是可作用于for循环的对象都是Iterable类型; 2、凡是可作用于next()函数的对象都是Iterator类型,它们表示一个惰性计算的序列; 3、集合数据类型如list、dict、str等是Iterable但不是Iterator,不过可以通过iter()函数获得一个Iterator对象。
阅读全文
摘要:# -*- coding: utf-8 -*- def trim(s): if len(s)==0: return '' if s[:1]==' ': return trim(s[1:]) elif s[-1:]=='': return trim(s[:-1]) else: return s # 测
阅读全文
摘要:# -*- coding: utf-8 -*- def move(n, a, b, c): if n==1: print(a,'==>',c)#只有一块的时候直接从A到C即可 else: move(n-1,a,c,b)#把n-1块从a先移到B print(a,'==>',c)#把第n块先从a先到c move(n-1,...
阅读全文

浙公网安备 33010602011771号