Learning Library

Every concept we teach, clearly explained

Hands-on explainers for the ideas behind our courses — each one taught through real, runnable code, from your first print() to hashing a blockchain.

Core Coding Library

The core of programming — variables, loops, functions, and the ideas every course builds on.

  • Printing & Output

    Show text and results on the screen with print().

  • Variables

    Named boxes that hold a value you can use and change later.

  • For Loops

    Repeat code many times without retyping, using a loop variable that changes each pass.

  • Importing Code You Can Reuse

    Bring in code others wrote — including our own packages.

  • Functions

    Package steps under a name so you can reuse them with one call.

  • If / Elif / Else

    Run different code depending on whether something is true.

  • Lists

    An ordered collection you can grow, index, and loop over.

  • Comparing Values

    Compare values with ==, !=, <, >, <=, >= to get True or False.

  • Doing Math with Code

    Do arithmetic with +, -, *, /, //, %, and **.

  • Giving Functions Inputs

    Feed values into a function to change what it does.

  • Dictionaries

    Look up values by a key instead of a position — key to value pairs.

  • And, Or, Not

    Combine true/false tests with and, or, not.

  • Changing Lists (append, remove)

    Change a list: append, remove, pop, insert, and more.

  • Getting Items from a List

    Get one item from a list by its position (starting at 0).

  • Getting Answers Back (return)

    Send an answer back out of a function with return.

  • Numbers, Text & True/False

    The kinds of values code uses: numbers, text (strings), and booleans.

  • The range() Function

    Generate a sequence of numbers to loop over: range(start, stop, step).

  • Working with Text

    Transform text: upper, lower, strip, split, replace, and more.

  • Loops Inside Loops

    A loop inside a loop — rows and columns, grids, every pair.

  • f-strings & Text Formatting

    Build text with values dropped inside using f-strings.

  • While Loops

    Repeat as long as a condition stays true.

  • Randomness with random

    Make things unpredictable with random numbers and choices.

  • Colors as Numbers (RGB)

    Colors are three numbers: red, green, blue (0-255 each).

  • Reading Errors & Debugging

    Read Python's error messages and fix bugs methodically.

  • X/Y Coordinates

    Locate things on a grid with x (across) and y (down).

  • Getting Input from a User

    Read what the user types with input().

  • Classes & Objects

    Blueprints (classes) that create objects bundling data and behavior.

  • The math Module

    Extra math: sqrt, sin/cos, pi, floor/ceil.

  • List Comprehensions

    Build a list in one readable line from a loop.

  • Where Variables Live (scope)

    Where a variable lives — local vs global — and why it matters.

  • Looping with a Counter

    Loop over items and their index at once.

  • Methods & Attributes

    An object's data (attributes) and its actions (methods).

  • Tuples

    Fixed, unchangeable sequences — great for coordinates and pairs.

  • Handling Errors (try/except)

    Catch errors so your program recovers instead of crashing.

Digital Art Library

Make art with code: the canvas, shapes, color, and generative randomness.

  • The Canvas

    The drawing surface your art lives on.

  • Drawing Shapes

    Stamping shapes — stars, flowers — onto the canvas.

  • Reusing Art Pieces

    Reusing shape helpers you import instead of redrawing them.

  • Composition & Zones

    Arranging art with balance — thirds, center, edges.

  • Generative Art

    Let loops and randomness create art that's different every run.

  • Randomness in Art

    Use random numbers for variety in position, size, and color.

Game Development Library

Build a game: sprites, the game loop, collisions, and keeping score.

  • Keyboard Input

    React to key presses to move and act.

  • Sprites & Entities

    The things in your game — ship, enemies — that own their look and moves.

  • The Game Loop

    The heartbeat of every game: update, draw, repeat — each frame.

  • Collision Detection

    Tell when two things touch — and do something about it.

  • Frames & Motion

    Movement is many small position changes, one per frame.

  • Enemy Waves

    Spawning groups of enemies with loops and lists.

  • Score & Lives

    The numbers that make it a game: points up, lives down.

  • Game State

    Tracking what's happening: playing, paused, or game over.

Website Development Library

Build for the browser — HTML structure, CSS styling, the live DOM, and responsive layouts.

  • Tailwind Utility Classes

    Utility classes for styling straight in your markup.

  • Attributes & Classes

    Extra info on tags: id, class, href, alt, and more.

  • HTML Basics

    The tags that structure a web page.

  • The DOM

    The live tree of your page that code can read and change.

  • Responsive Design

    Layouts that adapt from phone to desktop.

  • Components

    Reusable building blocks you compose into pages.

  • CSS Basics

    Styling: colors, spacing, fonts, and layout.

Biotech Library

Read the code of life: DNA and RNA, codons, and analyzing sequences with Python.

  • DNA & RNA

    The molecules that store and carry genetic instructions.

  • Transcription & Translation

    How DNA becomes RNA becomes protein — a pipeline.

  • Codons

    Three-letter chunks of genetic code, each naming one amino acid.

  • Proteins & Amino Acids

    The building blocks proteins are made of.

  • Sequence Analysis

    Measuring and comparing biological sequences with code.

  • The Genetic Code

    The full codon to amino-acid mapping, with start and stop.

  • Orthologs

    The same gene across different species.

Quant Library

Explore markets with code — price data, moving averages, and backtesting. Educational, not advice.

  • Market Data

    What price/volume data looks like and how to read it in code.

  • Trading Signals

    Turning indicators into buy/hold/sell decisions — conceptually.

  • What Is Backtesting?

    Testing a strategy on past data to study it — educational, not advice.

  • Risk Basics

    Position sizing, drawdown, and why risk matters — not advice.

  • Moving Averages

    Smoothing noisy data by averaging a sliding window.

Blockchain & DeFi Library

How blockchains really work: hashing, chained blocks, proof of work, and smart contracts.

  • Hashing

    Turning any input into a fixed-size fingerprint that changes if the input does.

  • Consensus (Proof of Work)

    How a network agrees on the next block.

  • Blocks & Chains

    Blocks that each carry the previous block's hash, forming a chain.

  • DeFi Basics

    Concepts behind decentralized finance — conceptual, not advice.

  • Wallets & Keys

    Public/private keys that prove ownership and sign actions.

  • Transactions

    Signed transfers recorded on the chain.

  • What Is a Blockchain?

    A tamper-evident chain of data blocks shared across a network.

  • Smart Contracts

    Programs that run on a blockchain under fixed rules.

Security Library

Think like a defender: how networks work, common weaknesses, and the ethics that come first.

  • What Is a Vulnerability?

    Why weaknesses exist and how defenders think about them.

  • Ports & Protocols

    The doors and languages services use to talk (HTTP, TCP, ports).

  • How Networks Work

    How data travels between machines — packets, addresses, routes.

  • The Security Mindset

    Thinking like a defender: assume nothing, verify everything.

  • Ethical Hacking Ethics

    Authorization, disclosure, and doing security work responsibly.