Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1 line, clear math solution in Clear category for The Nearest Square Number by kdim
from math import sqrt
def nearest_square(number):
return round(sqrt(number)) ** 2
March 3, 2021
Comments: