hdarwin

cstutoringcenter.com_More square roots

Jan 4th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. from math import *
  2. sum = 0
  3. for x in xrange((10**5)+1):
  4.     sum += sqrt(x)
  5. print round(sqrt(sum))
Advertisement
Add Comment
Please, Sign In to add comment