Try CoCalc Published Files Email HelpDocumentationSign In
Path: usqrt.sage
License: none
Image: ubuntu2004
Project: Math307Attacks
Edit | Raw | Embed | Download
1
def usqrt (n):
2
ur = isqrt(n)
3
if ur ** 2 < n:
4
ur = ur + 1
5
return(ur)
6
7