Guys what's the math module function for square root? I'm confused cuz I forgot the name | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Guys what's the math module function for square root? I'm confused cuz I forgot the name

From sb5k

13th Jul 2020, 7:09 AM
SB5K
SB5K - avatar
4 Answers
+ 4
Have you tried to google for 'square root python'?
13th Jul 2020, 8:11 AM
HonFu
HonFu - avatar
+ 3
In math module function is sqrt for square root syntax:- import math print (math.sqrt(81))
13th Jul 2020, 7:10 AM
Sâñtôsh
Sâñtôsh - avatar
+ 3
So guys waiting for Ur answwrs
13th Jul 2020, 7:10 AM
SB5K
SB5K - avatar
+ 2
from math import sqrt print(sqrt(25)) Or from math import sqrt as root print(root(25))
13th Jul 2020, 7:42 AM
Richard Mann
Richard Mann - avatar