79366857

Date: 2025-01-18 09:35:31
Score: 1.5
Natty:
Report link

Here, the fastest method I would say is to just use math. To do this, you need to put this line at the top of your program: import math

Then, this would be the syntax to check the square root: math.sqrt(num)

Another method with just regular arithmetic is to do num**(0.5), although I am pretty sure math.sqrt does it faster anyway.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: godchunguus