I figure this would be a fun one to try and code in one line :)
np.sum(np.floor(np.sqrt(np.arange(1,2025,1))))
Answer: 59730