Guest User

Untitled

a guest
Apr 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/env python2.6
  2. def isDiv(num):
  3. for x in xrange(20,2,-1):
  4. if num % x: return False
  5. return True
  6.  
  7. answer = 50400
  8. while not isDiv(answer):
  9. answer += 40
  10.  
  11. print 'Problem 5 Answer:', answer
Add Comment
Please, Sign In to add comment