Computer Science, asked by roshini1593, 10 months ago

Describe sqrt(x) in Python with example.

Answers

Answered by Abhis506
0

Sqrt(x) - LeetCode

Implement int sqrt(int x) . Compute and return the square root of x, where x is guaranteed to be a non-negative integer.

Answered by brokendreams
0

sqrt(x) in Python

  • sqrt() function is an inbuilt function in Python programming expression that reflects the square root of whatever number.
  • This purpose is not obtainable immediately, so we require to import the math module and later we require to request this function utilizing math static object.
  • The arrangement of this function is math.sqrt(x) where x is a numeric appearance.
  • For instance, if one wishes to obtain the square root of 4 then the way to write code is
  • import math

        print(math.sqrt(4))

Learn more on sqrt(x) in Python:

https://brainly.in/question/5747327

Python program to find the square root using newton's method

https://brainly.in/question/14412260

How to do square root in python​

Similar questions