# 1602.py v=[8,13,0,5,17,8,6,24,6,15,3] s=0 for i,x in enumerate(v): if x>10: s+=i print s # 21