http://projecteuler.net/index.php?section=problems&id=1
projecteuler.net第一题
Add all the natural numbers below one thousand that are multiples of 3 or 5.
求1000以下的能被3或5整除的整数之和.
答案:233168
python code:
print sum(i for i in xrange(1000) if (i %3==0)or(i%5==0))