CBSE Class 11 Computer Science Question 35 of 63

Introduction to Python Modules — Question 4

Back to all questions
4
Question

Question 4

How do you reuse the functions defined in a module in your program?

Answer

To reuse the functions defined in a module in our program, we can import the module into our program using the import statement. Once imported, we can call the functions from the module using the module name followed by a dot (.) and the function name.