I wrote python. I am interested in Algorithm now, would begin solve problems from today when if I have some time.
a = [] h = 0 for i in range(0,1000): if i % 3 == 0: a.append(i) elif i % 5 == 0: a.append(i) for j in range(0,len(a)): h = h + a[j] print h
>>> h 233168