199k views
4 votes
Which will have an output of 7.0?

>>> from sqrt import math
>>> sqrt(49)>>> from sqrt import math >>> sqrt(49) ,

>>> from math import root
>>> root(49)>>> from math import root >>> root(49) ,

>>> from root import math
>>> root49)>>> from root import math >>> root49) ,

>>> from math import sqrt
>>> sqrt(49)>>> from math import sqrt >>> sqrt(49) ,

1 Answer

7 votes

Answer:

from math import sqrt

(sqrt(49))

Step-by-step explanation:

From the library/package math you are importing a part of that code being sqrt, and then that allows you to call that function.

User Edison Xue
by
3.7k points