Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python2.6
- def isDiv(num):
- for x in xrange(20,2,-1):
- if num % x: return False
- return True
- answer = 50400
- while not isDiv(answer):
- answer += 40
- print 'Problem 5 Answer:', answer
Add Comment
Please, Sign In to add comment