Mistři v programování na #hovnokod

Python #491

def sun(i):
    s = str(i)
    c = 0
    for j in range(0,3):
        if s[j] == '0': return False
        c += int(s[j])
    if c == 10: return True
    return False


i = 1
count = 0
for i in range(118,812):
    if sun(i):
        print i
        count += 1
print 'Total: ' + str(count)

HovnoKod,