Answers for "how to find a square root of a number using python"

6

how to print the square root of a number in python

from math import * # We import the math module
print(sqrt(16)) # We print the square root of the number 16
Posted by: Guest on February-25-2021
2

square root python 3

import math
print(math.sqrt(589485))
Posted by: Guest on December-01-2020
1

how to square root in python

import math
answer = math.sqrt(16)
Posted by: Guest on September-19-2020
0

how to find a square root of a number using python

import math
whose_square = int(input("Of which number to find square root:- "))
print("The square root of ", whose_square,"is",math.sqrt(whose_square))
Posted by: Guest on October-04-2021
0

Write Python Program to find the square root of an input number. (create a user-define function of square root).

import math
number = int(input("enter a number:"))
sqrt = math.sqrt(number)
print("square root:" , sqrt)
Posted by: Guest on August-27-2021

Code answers related to "how to find a square root of a number using python"

Python Answers by Framework

Browse Popular Code Answers by Language