CBSE Class 11 Computer Science
Question 34 of 63
Introduction to Python Modules — Question 3
Back to all questionsA module is a file consisting of a Python code that can define functions, classes and variables related to a particular task. A module allows us to organize our code by grouping related codes, which makes the code easier to understand and use. The file extension of a Python module is ".py".