+ 1

How to find (square root of an integer?)

like how do i code (in python) square root of 49=7?

13th Jul 2021, 3:45 PM
Nabil Norazizi
Nabil Norazizi - avatar
7 odpowiedzi
+ 5
import math print(math.sqrt(49))
13th Jul 2021, 4:03 PM
Cmurio
Cmurio - avatar
+ 5
print(49 ** (0.5))
13th Jul 2021, 3:54 PM
JaScript
JaScript - avatar
+ 3
In which language? Should it calculated without build in math function?
13th Jul 2021, 3:48 PM
JaScript
JaScript - avatar
+ 3
Asap?????
13th Jul 2021, 3:58 PM
Shadoff
Shadoff - avatar
+ 2
in python yes
13th Jul 2021, 3:50 PM
Nabil Norazizi
Nabil Norazizi - avatar
+ 1
import math a=9 b=math.sqrt(a) print(b)
14th Jul 2021, 2:46 AM
Anime Sam
Anime Sam - avatar
0
Try print(49**(0.5))
15th Jul 2021, 9:20 AM
Swetha Lakshme S
Swetha Lakshme S - avatar