Find_the_number: find a number up 1000 that fullfils a set criteria. Taken from CAS website on a python example See crib sheet. Only thing is my version gives two number! May be yours will too - debate.