Función raíz cuadrada de python

Ejemplos de código

22
0

python obtener raíz cuadrada

import math

toSquare = 300
squared = math.sqrt(toSquare)
18
0

raíz cuadrada de python

import math
a = input("what do you wnat to square root")
print(math.sqrt(a))
9
0

raíz cuadrada en python

def square_root(num):
  	return num**0.5
#prints out 4
print(square_root(16))
#prints out 10
print(square_root(100))
6
0

pitón de raíz cuadrada

x = 9
y = x ** 0.5
3
0

cómo imprimir la raíz cuadrada de un número en python

from math import * # We import the math module
print(sqrt(16)) # We print the square root of the number 64
2
0

pitón de raíz cuadrada 3

import math
print(math.sqrt(589485))

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................