Q. What is a module list? Give at least two reasons why we need modules.


Answer =

A module is a file containing Python definitions and statements. We need modules because of their following salient features:

1. A module allows code reuse.
2. It makes the "main" program shorter and more readable.
3. Enables clearer code organization.

Post a Comment

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

Previous Post Next Post