《Beginning Python From Novice to Professional》学习笔记八:Abstraction
LazinessIsaVirtue---Realprogrammersarelazy.Notlazyinabadway,butinthesensethattheydon’tdounnecessarywork.1.创建函数deffibs(num):result=[0,1]foriinrange(num-2):result.append(result[-2]+result[-1])returnresu