• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 3

How do I find square root of a number in python

pythonquestionnewquestionshelpcommunitydoubtsquareroot
15th Apr 2021, 1:50 PM
shubha P
2 Respostas
+ 4
from math import sqrt print(sqrt(9)) or print(9**0.5)
15th Apr 2021, 1:50 PM
TOLUENE
TOLUENE - avatar
0
import math number = 2 print(math.sqrt(number))
15th Apr 2021, 4:27 PM
marc
marc - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Ejor oo
0 Votes
How to transfer my sololearn account to another device
1 Votes
Can an element have two classes?
1 Votes
[OFFICIAL] 🌿🧠Coding Challenge: Code for Calm
7 Votes
While loops and negative list indexing in python
3 Votes
How do I see my playground code on the mobile app (iOS)
0 Votes
Lost my streak even though I repeated and completed a lesson
0 Votes
Could Someone Please Explain This to Me
0 Votes
Complete the code to get a user input and store it into a variable called address
0 Votes
Сертификат
0 Votes