asked 74.4k views
23 votes
How could you use the sqrt function from the math module to print the square root of 16?

How could you use the sqrt function from the math module to print the square root-example-1
asked
User Paullb
by
7.8k points

1 Answer

10 votes

Answer:

b

Step-by-step explanation:

It is not "import sqrt" because import is used to add a module, and "sqrt" is not a module.

It is not sqrt(16) because we need to use the math. prefix so that python recognizes that sqrt is a function from the math module.

answered
User Aditya Landge
by
7.8k points

No related questions found