Which of the following snippets will let you invoke the function?

A Python module named pymod, py contains a function named pyfun ( ).

Which of the following snippets will let you invoke the function? (Select two answers)
A . From pymod import ‘
Pymod.pyfun ( )
B . Import pymod
Pymod. Pyfun ( )

C . Import pyfun from pymod
Pyfun ( )
D . From pymod import pyfun
Pyfun ( )

Answer: B,D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments