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
User Paullb
by
4.2k 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.

User Aditya Landge
by
4.0k points