Q. Explain the difference between import <module> and from <module> import statements, with examples.


Answer =


import <module> statement, import the given module.

While from <module> import statement import the function which is present in given module.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post