Advertisement
Guest User

mcnug(largest no.)

a guest
Dec 20th, 2011
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. x = [1,2,3,4,5]
  2. candidate = 6
  3. for a in range (0, 100):
  4. for b in range (0, 100):
  5. for c in range (0, 100):
  6. tot = 6*a+9*b+20*c
  7. if candidate != tot:
  8. x.append(candidate)
  9. candidate = candidate +1
  10. print x[-1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement