ls=[4,0,4,3,2,8,0,3,9] for i in range(len(ls)): if ls[i]==0: ls[i]=10 print(sum(ls))