Here is the different step to importing and using Python modules:
On this picture we can see two ways to do it:
- Write « import math » or « from math import (MathObject)
- You can assign your MathObject to a variable
- You have to use the instruction « print » to display this variable on your terminal
Have a good day !
Masteries 10 and 13 by aureliemartinette is licensed under a Creative Commons Attribution 4.0 International License.