0

How can write a code of the square rrot

please help me iam a new syudent

22nd Jun 2018, 5:03 AM
Harsh Singh
Harsh Singh - avatar
1 Answer
+ 4
x**.5 e.g. print(9**.5) outputs 3.0 btw so do these: print(9**(1/2)) print(pow(9,.5)) print(pow(9,1/2)) import math print(math.sqrt(9))
22nd Jun 2018, 5:15 AM
David Ashton
David Ashton - avatar