#115
The Balance of N
 

Difficulty:Medium
Topics:math


A balanced number is one whose component digits have the same sum on the left and right halves of the number. Write a function which accepts an integer n, and returns true iff n is balanced.
test not run
(= true (__ 11))
test not run
(= true (__ 121))
test not run
(= false (__ 123))
test not run
(= true (__ 0))
test not run
(= false (__ 88099))
test not run
(= true (__ 89098))
test not run
(= true (__ 89089))
test not run
(= (take 20 (filter __ (range)))
                       [0 1 2 3 4 5 6 7 8 9 11 22 33 44 55 66 77 88 99 101])


Code which fills in the blank: