513,974 views
24 votes
24 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 Abderrazzak Nejeoui
by
2.3k points

1 Answer

19 votes
19 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 Tas
by
2.6k points