Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- max = 999
- min = 100
- check = lambda x: True if str(x) == str(x)[::-1] else False
- def tmp(max, min):
- for x in xrange(max*max, min*min, -1):
- if check(x):
- for i in xrange(max, min, -1):
- if x%i==0 and min < x/i < max :
- print x, i, x/i, x/i > min
- return
- tmp(max, min)
Add Comment
Please, Sign In to add comment