MC Which of the following statements imports the sqrt function from the math module with a new name?

a) from math import sqrt as squareRoot.
b) squareRoot = import math.sqrt.
c) import sqrt from math as squareRoot.
d) None of the above.

a) from math import sqrt as squareRoot.

Computer Science & Information Technology

You might also like to view...

Setting a report's orientation to portrait or landscape allows the content to fit within the report's ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. The test condition in a While loop must always be an integer value. 2. A While loop repeats infinitely when there is no statement inside the loop body that will make the test condition false. 3. Modules can be called from statements in the body of any loop. 4. You can only use positive integers as step values in a For statement.

Computer Science & Information Technology