3 Answers
+ 6
import math
math.sqrt()
3rd May 2020, 10:54 PM
Abhay

+ 5
Also you can do this:
9**(1/2) # square
8**(1/3) # cubic
3rd May 2020, 11:03 PM
HonFu

+ 4
root = num**(1/2)
3rd May 2020, 11:02 PM
Marcus Xavierr

Often have questions like this?
Learn more efficiently, for free:
Hot today
DSA doubt
1 Votes
Vote Code
1 Votes
Input errors (python)
1 Votes
Data structure using C
0 Votes
Without degree job
0 Votes