Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I suspect it is some python idiosyncrasy. It is somehow not getting the variable n as defined in the function declaration. The following works (for some reason using n=n again didn't work, probably because n is defined globally to be some function):

def T(n):
    top = ceil(math.sqrt(n))
    print top

def _(k=6739815371):
    k = k