正在加载图片...
Representing Collections of Data 3 i=0 for elem in [8,9,10]: print(i,":"elem) 2 i+=1 sum(iterablef,start])->value e Return the sum of an iterable of numbers (NOT strings)plus the value of parameter 'start'(which defaults to 0).When the iterable is empty,return start. Note:cannot be called on strings instead must use built in string method join max(iterable[,key-func])->value OR max(a,b,c,...[,key-func])->value e With a single iterable argument.return its largest item. with two or more arguments,return the largest argument.Representing Collections of Data
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有