← Courses

Python for AI — Beginner Foundations

Data Science

Libraries & APIs · Lesson 51 of 76

External tools

You rarely build everything from scratch. Python gives you tools in two layers:

  1. The standard library — modules that ship with Python, ready to import. No installation. Examples: math, random, datetime, json.
  2. Third-party packages — extra ones you install with pip, like requests or pandas.

Start with the standard library — it's huge and always there:

Python

Your turn: import math and print math.ceil(4.1) (rounds up).

You’re reading for free. Sign in to keep your progress and earn a certificate when you finish.Sign in to keep my progress →