100以內(nèi)第五個(gè)能被11除的數(shù)Python代碼?
sum = 0 for x in xrange(100): if x % 5 == 0 and x % 7 == 0: sum += x print 'the sum is: ', sum
100以內(nèi)第五個(gè)能被11除的數(shù)Python代碼?
sum = 0 for x in xrange(100): if x % 5 == 0 and x % 7 == 0: sum += x print 'the sum is: ', sum