Computer Science, asked by tvahulthasan, 1 month ago

What is Module? How to create module? What are the various ways to import modules
with example.​

Answers

Answered by madhalaimuthucharlas
0

Answer:

Module means file containing python statement and definition.

The file name have.py extension.

you also create a module like adding two numbers you can save it used later.

you can import like this

import numpy means importing numpy

import numpy as np means importing numpy as np used later

from math import square root means importing particular square root function from math module

Similar questions