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