Chapter 16: Introduction to Modules Modules are files containing Python code that can be imported and used in other scripts. Example Python1 2import math print(math.sqrt(16)) # Outputs: 4.0 The math module provides mathematical functions.