158,688 views
33 votes
33 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) ,

User Yodamad
by
2.6k points

1 Answer

17 votes
17 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 Drlemon
by
3.3k points