Below are some common mistakes a learner can make while defining or importing modules. What happens when you make each mistake?
1.
# module.py
import module
print("Hello!")
2.
# math.py
from math import pi
3.
# module_1
name = "John"
print("You shouldn't print this!")
# module_2
from module_1 import name
print("Hello,", name)