CBSE Class 12 Computer Science
Question 28 of 62
Using Python Libraries — Question 2
Back to all questionsTrue
Reason — A Python program is saved in a .py file, which can be executed to perform a specific task. A Python module is also a .py file containing Python code, but it's meant to be imported and used in other Python programs or modules to reuse code. So, both Python programs and modules share the same file extension, i.e., .py.