what mean import in python 1

what mean import in python

import math

myPi = math.pi
print myPi

Here is what the above code is Doing:
1. We import the math module.
2. We create a variable called myPi and set it equal to math.pi.
3. We print out myPi.

Similar Posts