Module 10
import
Bringing a library into your program.
Importing a library
The import statement brings a library into your program. Once imported, you can use its functions and classes.
Python
import math print(math.sqrt(16))
→ 4.0
Your task
Import a library
- Import math and print the square root of 16.