Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. x = 1
  2. y = 1
  3. z = 1
  4. n = 0
  5. while n < 499:
  6. if y > x:
  7. n = 0
  8. z += 1
  9. x = x +z
  10. y = 1
  11. if x % y == 0:
  12. n += 1
  13. y += 1
  14. else:
  15. y += 1
  16. print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement