📜  累加器编程python代码示例

📅  最后修改于: 2022-03-11 14:45:50.805000             🧑  作者: Mango

代码示例1
# Accumulator                                                               
 # The count is the accumulator
count = 0                            
for item in list:                  
    print item                     
    count +=1