My Answer
def select_k(n): k = int(math.sqrt(n)) # if k is an even number subtract 1 if k % 2 == 0: return k-1 else: return k
424 questions
364 answers
99 comments
665 users