Which of the following statements is used to import a specific function named sqrt from a module named math in Python?
a) import math.sqrt
b) from math import sqrt
c) import sqrt from math
d) from sqrt import math
Answer:
Answer by student
b) from math import sqrt
The rest of the post is locked. Join Teachoo Black to see the full post.